Virtual machines with the 3D graphics option enabled can have higher memory consumption than other virtual machines. You can reduce the memory overhead by editing the configuration file (.vmx file) of your virtual machines and disabling certain memory-related settings. Reducing the memory overhead of virtual machines can help you increase the number of virtual machines per host.
Prerequisites
Verify that your virtual machines are using hardware version 10 or later.
Procedure
- Shut down the virtual machine on which the 3D graphics option is enabled.
- Disable the Accelerate 3D Graphics option.
- Upgrade your ESXi host to use the features available in hardware version 10 or later.
- Set the maximum size of your display to the size you need.
- Locate the configuration file (.vmx) of your virtual machine.
- Open the virtual machine configuration file in a text editor and add the line,
svga.vgaOnly=TRUE
.
This option removes all graphics and SVGA functionality from your SVGA device, but does not remove the settings that allow BIOS to enter VGA mode.
- Save the changes and exit the text editor.
- Power on your virtual machine and check the display console.
- Verify the memory reservation settings in the vmware.log file.