VMWare Workstation - not enough physical memory since last update

I see you're on kernel version 4.13.3-1. This kernel has some small changes that require some patching for the Vmware vmmon module. Apply this patch to the vmmon module code to fix this memory issue:

https://github.com/mkubecek/vmware-host-modules/commit/770c7ffe611520ac96490d235399554c64e87d9f

cd /usr/lib/vmware/modules/source
tar xf vmmon.tar
cd vmmon-only/linux
vim hostif.c # or use the patch command to apply the patch
cd ../..
tar cf vmmon.tar vmmon-only
rm -rf vmmon-only # cleanup

# Lastly, we need to rebuild the patched module
sudo vmware-modconfig --console --install-all

Run this comans on ubuntu 17 , work very well.

  1. sudo cd /tmp
  2. cp /usr/lib/vmware/modules/source/vmmon.tar .
  3. tar xf vmmon.tar
  4. rm vmmon.tar
  5. wget https://raw.githubusercontent.com/mkubecek/vmware-host-modules/fadedd9c8a4dd23f74da2b448572df95666dfe12/vmmon-only/linux/hostif.c
  6. mv -f hostif.c vmmon-only/linux/hostif.c
  7. tar cf vmmon.tar vmmon-only
  8. rm -fr vmmon-only
  9. mv -f vmmon.tar /usr/lib/vmware/modules/source/vmmon.tar
  10. vmware-modconfig --console --install-all