Advanced Windows PowerShell Scripting Video Training

Advanced Windows PowerShell Scripting Video Training
Advanced Windows PowerShell Scripting Video Training

Thursday, February 24, 2011

How to reallocate RAM resources in Hyper-V

It never fails.  I need to start up a new VM only to find out that I do not have enough RAM (see the error below).

image

From the last line of the error, you can see “Fail to create partition: Insufficient resources exist to complete the requested service.”  Ok, but I really need to start this VM.  We cannot dynamically change the amount of RAM that is allocated to a VM while it is running. 

One option that we have is to take a VM that is in a Paused state, and change it to a saved state.  Since the VM was already paused, you were not using its functionality anyway.  Right click the paused VM and click Save

image

If this cleared up enough resources, you can now start that other VM.

Should I need to run both VMs, I will still need to shut the paused virtual machine down and reallocate less resources from it while it is offline.

No comments: