6.7

Table Of Contents
Enable or Disable the Memory Compression Cache
Memory compression is enabled by default. You can use Advanced System Settings in the
vSphere Client to enable or disable memory compression for a host.
Procedure
1 Browse to the host in the vSphere Client.
2 Click Configure.
3 Under System, select Advanced System Settings.
4 Locate Mem.MemZipEnable and click the Edit button.
5 Enter 1 to enable or enter 0 to disable the memory compression cache.
6 Click OK.
Set the Maximum Size of the Memory Compression Cache
You can set the maximum size of the memory compression cache for the host's virtual machines.
You set the size of the compression cache as a percentage of the memory size of the virtual machine. For
example, if you enter 20 and a virtual machine's memory size is 1000 MB, ESXi can use up to 200MB of
host memory to store the compressed pages of the virtual machine.
If you do not set the size of the compression cache, ESXi uses the default value of 10 percent.
Procedure
1 Browse to the host in the vSphere Client.
2 Click Configure.
3 Under System, select Advanced System Settings.
4 Locate Mem.MemZipMaxPct and click the Edit button.
The value of this attribute determines the maximum size of the compression cache for the virtual
machine.
5 Enter the maximum size for the compression cache.
The value is a percentage of the size of the virtual machine and must be between 5 and 100 percent.
6 Click OK.
Measuring and Dierentiating Types of Memory Usage
The Performance tab of the vSphere Client displays several metrics that can be used to analyze memory
usage.
vSphere Resource Management
VMware, Inc. 43