VMware Workstation "Not enough physical memory is available"

From Compilenix Wiki
Jump to: navigation, search

Fix for Not enough physical memory Error

Related to VMware Workstation 10.
Related to Windows 7, 8 and 8.1.

Physical memory error message generated by VMware Workstation. (Image Credit: Daniel Petri[1])

Fix #1 – Run as Administrator

1. Make sure VMware Workstation is not running.
2. If you have an icon for VMware Workstation on your desktop, right-click it and read on. If you don’t have an icon on the desktop, find it in Start and right-click it.

Navigating to VMware Workstation properties. (Image Credit: Daniel Petri[1])

3. Select "Open file location."
4. Right-click the VMware Workstation icon and select Properties. Go to the Compatibility tab and select "Run this program as administrator".

Running VMware Workstation as an administrator. (Image Credit: Daniel Petri[1])

5. Click OK.
6. Try to run VMware Workstation and boot your VM. If it works, fine. If not, read on.

Fix #2 – Uninstall Windows Update Fix KB2995388

If you have the Windows Update fix KB2995388 installed on your machine, then you may want to remove it. It should solve the VMware error, but it will prevent you from getting the other fixes in this rollup update, so I wouldn’t rush to go down this path.

2014 update rollup[2] for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2.

Fix #3 – Modify the config.ini file (Host Parameters)

Open the config.ini file located by default at C:\ProgramData\VMware\VMware Workstation.
Add the following line to the end of the file:

vmmon.disableHostParameters = "TRUE"

Save the file. You may need to edit it as an administrator in case you get an error during the save.

Reboot your host computer.

Try to run VMware Workstation and boot your VM.

Fix #4 – Modify the config.ini file (VmMemPct)

Open the config.ini file located by default at C:\ProgramData\VMware\VMware Workstation.
Add the following line to the end of the file:

prefvmx.minVmMemPct = "25"

Use "100" to run a few VMs with best performance, or use lower values such as "25" if you want to run many VMs at the same time.

Note: These settings can also be done through the VMware Workstation UI under > Edit > Preferences.

Managing preferences for VMware Workstation. (Image Credit: Daniel Petri[1])
Fit all = 100
Allow some = 50
Allow most = 25

Some more tuning options:
The Continuum tuning guide[3] provides instructions to set up the host for expected usage.
For me[1], the third fix worked.
For me Compilenix, the fourth fix worked (value=10).

References

2014-10-26: http://www.petri.com/fixing-enough-physical-memory-available-errors-vmware-workstation.htm