Search This Blog

Tuesday, October 8, 2024

Allocate 100% memory in VMware workstation prevent huge VMEM file

VMware Workstation creates VMEM files size eque to the memory settings of the VM.

To prevent create the VMEME file I set memory allocate to 100%.

First power off the VM.

Then open the [VM_NAME.vmx] file under the VM folder.

Add or update these parameters:
 
MemTrimRate = "0"
prefvmx.minVmMemPct = "100"
mainMem.useNamedFile = "FALSE"
sched.mem.pshare.enable = "FALSE"
prefvmx.useRecommendedLockedMemSize = "TRUE"

No comments:

Post a Comment