Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Disabling the balloon driver (1002586)
Details
Solution
Disabling ballooning via the vSphere Client
To set the maximum balloon size to zero:
- Using the vSphere Client, connect to the vCenter Server or the ESXi/ESX host where the virtual machine resides.
- Log into the ESXi/ESX host as a user with administrative rights.
- Shut down the virtual machine.
- Right-click the virtual machine listed on the Inventory panel and click Edit Settings.
- Click the Options tab, then under Advanced, click General.
- Click Configuration Parameters.
- Click Add row and add the parameter
sched.mem.maxmemctlin the text box. - Click on the row next to it and add
0in the text box. - Click OK to save changes.
- SSH to the ESXi/ESX host.
- Change directory to the datastore where the virtual machine's configuration file resides.
- Back up the virtual machine's configuration file.
- Edit the virtual machine's configuration file (
virtual_machine_name.vmx) and remove this entry:sched.mem.maxmemctl = "0" - Save and close the file.
- Power on the virtual machine.
.vmx) for the virtual machine to remove the entry.Disabling ballooning via the Windows registry
To disable ballooning on the virtual machine:
Note: This procedure modifies the Windows registry. Before making any registry modifications, ensure that you have a current and valid backup of the registry and the virtual machine. For more information on backing up and restoring the registry, see the Microsoft Knowledge Base article 136393.
- Log into the guest OS.
- Click Start > Run, type
regedit, and press Enter. The Registry Editor window opens. - Navigate to:
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\VMMEMCTL - Change the Start key from
2to4. - Save the setting and restart the guest OS.
Disabling ballooning via VMware Tools uninstallation/reinstallation
- Uninstall VMware Tools from the guest OS.
- Reinstall VMware Tools using the Custom Settings option, and deselect the Memory Control Drivers.
Additional Information
For additional information, see Troubleshooting ESXi/ESX virtual machine performance issues (2001003).Note: The links in this article were correct as of April 12, 2013. If you find a link is broken, provide feedback and a VMware employee will update the link.
Tags
Update History
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

