You are on page 1of 1

.

vswp file notes


When a VM starts up the vmkernel creates a .vswp file so
that if free memory on the ESXi host falls below minfree
the vmkernel can free up memory by swapping out a
VMs entire set of allocated memory pages. When the VM
is powered off the .vswp file is removed.
The default size of the .vswp is equal to:
The size of memory the VM was built with
Minus any Memory Reservation set for the VM.
Memory Reservations mean:
1)Physical memory pages loaded into memory by the
VM at VM startup.
2)Physical memory pages guaranteed to the VM as it
runs.
So since the default reservation is 0 the .vswp file is
usually equal to the memory the VM was built with.
If a reservation is set for the VM the .vswp file will equal
the size of memory VM was built with minus the
reservation.

You might also like