Q: How do I hot-add memory to a Windows Server 2012 Hyper-V virtual machine?

A: Dynamic Memory was added in Windows Server 2008 R2 SP1, which allows a virtual machine (VM) to have a startup (amount the virtual machine starts with) and maximum (maximum the virtual machine can be given) amount. This means a VM has memory added to it as it needs it. 

In Windows Server 2008 R2 SP1, the startup and maximum values couldn't be changed while the VM was running. In Windows Server 2012, the Minimum and Maximum values can be changed while the VM is running, allowing even more memory to be allocated to an already running VM. 

The Startup amount of memory is still defined and can't be changed while the VM is running; however, the addition of Minimum now allows a VM to start with a certain amount of memory, then actually use less after the OS has started.

For users who don't want to use dynamic memory with variable memory amounts, one option is to make the Startup, Minimum, and Maximum values the same, so the memory amount is set. However, if at some point in the future more memory is required, it's possible to change the Minimum and Maximum values to a larger number while the VM is still running: This would mean you'd be effectively hot-adding memory into the VM.

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering SharePoint 2013: Succeeding, Not Just Surviving

Building on the success of the “Mastering SharePoint 2010” seminars, the presenters have updated the content to cover the latest and greatest SharePoint product: SharePoint 2013. While SharePoint 2013 is relatively new on the marketplace, the presenters have been working with SharePoint 2013 for well over a year, and have implemented it with a number of clients in production environments.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.