Make sure the VM machine you’re going to be changing is shutdown/powered off first.
Then edit the .vmx file and add the following:
mainMem.useNamedFile = "FALSE"
MemTrimRate = "0"
sched.mem.pshare.enable = "FALSE"
prefvmx.useRecommendedLockedMemSize = "TRUE"
prefvmx.minVmMemPct = "100"
mainMem.useNamedFile – stop the VM from creating a memory mapped file (on disk).
MemTrimRate – Disable memory trimming.
sched.mem.pshare.enable – Disables memory sharing across running VM’s.
prefvmx.useRecommendedLockedMemSize – No idea, other than this WMWare KB article.
prefvmx.minVmMemPct – Preallocate all RAM available to the VM at startup, reducing this value allows some swapping to occur.
It seems that this data can be configured on a global, for the current PC, basis. If the changes are applied to the
c:\ProgramData\VMWare\VMWare Workstation\config.ini file.
And some additional settings can be added as well to further boost performance when the VM is in use.
priority.grabbed = "high"
priority.ungrabbed = "normal"
grabbed setting can only be
ungrabbed setting can have a value of