Ubuntu – Not enough physical memory is available to power on this virtual machine, VMware

ramvirtualizationvmware

I have VMware Workstation 14 installed in Ubuntu 16.04. I created a new Fedora virtual machine allotting 1 GB RAM. I have 2 GB free available RAM and 4 GB free swap memory, but when i power on machine then it shows me error.

Not enough physical memory is available to power on this virtual
machine with its configured settings. It is possible that native
applications and/or services have locked down memory which could be
preventing the virtual machine from launching. Shutting down
unnecessary applications or services may free enough memory to launch
this virtual machine. If you were able to power on this virtual
machine on this host computer in the past, try rebooting the host
computer. Rebooting may allow you to use slightly more host memory to
run virtual machines.

I tried windows 7 and other operating systems too by increasing or decreasing allocated RAM size, restarting the host machine but got same error. But when i install VMware Workstation 12 it works fine. I am facing problem with VMware Workstation 14.

Any solution ?

Best Answer

I fixed it based on this post by izznogooood:

sudo sucd /tmp
cp /usr/lib/vmware/modules/source/vmmon.tar .
tar xf vmmon.tar
rm vmmon.tar
wget https://raw.githubusercontent.com/mkubecek/vmware-host-modules/fadedd9c8a4dd23f74da2b448572df95666dfe12/vmmon-only/linux/hostif.c
mv -f hostif.c vmmon-only/linux/hostif.c 
tar cf vmmon.tar vmmon-only
rm -fr vmmon-only
mv -f vmmon.tar /usr/lib/vmware/modules/source/vmmon.tar 
vmware-modconfig --console --install-all

Another tip you should follow if you run intels onboard graphics is to enable 3D accelleration (adjust GFX memory to the guest machine accordingly) like a 7500U cpu is more than powerful enough for that. VMware does not allow this by default.

add:

mks.gl.allowBlacklistedDrivers = TRUE