VMware Workstation

 View Only

 Disable RAM reservation vmware workstation pro 17.6

Denis Sorokin's profile image
Denis Sorokin posted Jun 24, 2025 02:59 PM

How to disable memory reservation?

When the VM is launched, the host system reserves the entire memory allocated VM

This happens with Windows 10 guest OS. With Linux, the memory is not all reserved at once.

Attachment  View in library
006.png 21 KB
Alexandru Capras's profile image
Alexandru Capras

I think you can do it two ways:
One is the global setting for all VMs (as shown in the documentation), and the other is per-VM by editing the .vmx file directly.

I believe these are the lines you're looking for: 
prefvmx.minVmMemPct = "0"
mainMem.useNamedFile = "FALSE"

Denis Sorokin's profile image
Denis Sorokin

Global memory reservation limit is unsuitable, because there may be several VMs.

prefvmx.minVmMemPct = "0"

This option doesn't change anything.

Alexandru Capras's profile image
Alexandru Capras

Oh yeah, you're right. That option is actually for preventing the .vmem swap file from being created in Workstation and Fusion which should help reduce disk I/O.
I just tested this on a fresh VM and checked the .vmx file after enabling memory reservation.

sched.mem.min = "0"
sched.mem.minSize = "0"

These lines changed when I enabled reservation, and it also added:

sched.mem.pin = "TRUE"

I did this test on a vSphere VM, not on a Workstation VM... but it's worth giving a try.

Denis Sorokin's profile image
Denis Sorokin

sched.mem.pin = "FALSE"
sched.mem.min = "0"
sched.mem.minSize = "0"

=>

no effect