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.


Launch the vSphere Client and log in to a vCenter Server system.


  1. In the vSphere Client, select the host in the inventory.
  2. Click the Configuration tab.
  3. Under Software, select Advanced Settings.
  4. In the left pane, select Mem and locate Mem.MemZipMaxPct.
    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.