Cooperative memory resource management via application-level balloon
AssigneeVMware, Inc.
InventorsRichard McDougall, Wei Huang, Ben Corrie
Life of this patent
Estimating the term…
Loading patent…
AssigneeVMware, Inc.
InventorsRichard McDougall, Wei Huang, Ben Corrie
Estimating the term…
Methods, systems, and computer programs for managing memory in a host where virtual machines (VMs) execute are presented. In one embodiment, a method includes an operation for determining which amount of heap memory has been reserved in a Java virtual machine (JVM) that is in excess of the heap memory needed by the JVM. If there is excess heap memory, a Java balloon agent reserves a Java object in the heap memory. Typically, the Java object will be the size of one or more memory pages in the host. Further, the Java balloon agent loads the Java object with a certain value, for example, by zeroing out the page of memory. When a virtual machine monitor (VMM) in the host detects that a machine physical memory page associated with the Java object has the first value, then the VMM frees the machine physical memory page to make the memory available to other VMs or to other processes executing in the host.
A method for managing memory in a host having virtualization software that supports execution of a virtual machine (VM) having a guest operating system that manages allocation of guest physical memory, a balloon driver installed in the guest operating system, and a Java Virtual Machine (JVM) executing as an application on top of the guest operating system and having a heap memory allocated from the guest physical memory, the method comprising:
A method for managing memory in a host having virtualization software that supports execution of a virtual machine (VM), having a guest operating system that manages allocation of guest physical memory, a balloon driver installed in the guest operating system, and a Java Virtual Machine (JVM) executing as an application on top of the guest operating system and having a heap memory allocated from the guest physical memory, the method comprising:
A system for managing memory in a host that supports execution of virtual machines (VMs), the system comprising:
A non-transitory computer readable storage medium comprising instructions that, when executed, cause a machine to at least:
Dependencies are inferred from the claim text.