Cannot start machine in Hyper-V - "Not Enough Memory in the system to start the virtual machine"

Solution 1:

The VM is configure to use 10GB of RAM, I have 16GB, it should start but it doesn't.

Not enough info.

The host has 16GB RAM, of which only 4.8GB is in use. This leaves at least 11GB available for Hyper-V to use. Except it can't.

Too little. I love to add 1gb per vm as reserve.

Also you already have 7.5gb committed - that smells already wrong.

You are simply too thin. You can now:

  • Get more memory or
  • Reduce static memory allocation or
  • Move to dynamic memory allocation and just give the machine 512mb to start then it grows as needed.

Solution 2:

I had this problem with my VM. I tried almost everything. It finally worked when I went to the virtual Machine settings, clicked on Automatic Start Action in the menu on the left. and for the What do you want this virtual machine to do when the physical computer starts I chose the option "Always start this virtual machine automatically" and restart the host machine. This will prompt the host to start the vm before other services start on the host machine, allowing the host to allocate the memory required for the vm I hope this will help.


Solution 3:

If you really don't have more memory to spare, as I have on laptop, consider using SysInternals RamMap (https://technet.microsoft.com/en-us/library/ff700229.aspx), as you can clear the working set, which works well and then eliminates the reboot for me.

You can also look at using dynamic memory, as @TomTom recommended, buy also try and make sure the machine has minimum required apps running, if you choose to suspend it. I have also specified a maximum on a VM I am using to avoid / lessens situations like this.