Memory ballooning is a process that allows a physical host to reclaim unused memory from a guest virtual machine (VM), and then allocate it to other VMs that might need it.
It is most beneficial in virtualized environments where there's a significant amount of memory that is assigned but not consistently used across all virtual machines. Thus it optimizes resource utilization.
This article provides steps to disable the balloon driver in a virtual machine.
VMware vSphere ESXi 7.0.x
VMware vSphere ESXi 8.0.x
Note: Disabling the balloon driver in a virtual machine should be performed on case to case basis upon consultation.
Methods to Disable Memory Ballooning:
Method 1 (Reserve all memory):
Method 2 (Requires VM to be shut down):
For more information about Memory Balloon Driver in ESXi 7.0.x
For more information about Memory Balloon Driver in ESXi 8.0.x