I have two VMs in ESXi5.5 environment that are swapping memory. After a long research I found out the below two articles where it is explained that one must compare the values of memsize
and sched.mem.max
and they must be the same or sched.mem.max
should be greater than memsize
.
"Unballooning" RAM that's been ballooned by VMware
The problem is that I can not find this sched.mem.max
parameter. I've checked the .vmx
files on all of my VMs and at all of them that value missing.
We have a fairly large environment of multiple hosts and clusters. There is no VM with the sched.mem.max
parameter. Also the VMs are all at version 10.
This is what I've done so far according to the KB article :
- Set the value of
sched.mem.max
to the allocated memory or greater. [DOES NOT EXIST] - Select the virtual machine's Resources > Memory > Limit > Unlimitedbox.[CHECK]
- Migrate the virtual machine to another host. [CHECK] - and the other host started swapping too :(