Computer memory usage by releasing unused heap space
AssigneeInternational Business Machines Corporation
InventorsNorman BOBROFF, Arun IYENGAR, Peter WESTERINK
Life of this patent
Estimating the term…
Abstract
A method, information processing system, and computer readable storage medium, periodically monitor, with a processing system, information related to an application's memory usage including a maximum heap memory size and a garbage collection activity level. Based on determining that the garbage collection activity level is below a first threshold, releasing memory from the application by reducing the maximum heap memory size.
Claims20
In a processing system including an application, a run-time system, and a heap memory used by the application, wherein unused memory in the heap memory is reclaimed by a garbage collector, a method for managing memory used by the application comprising:
- periodically monitoring, with the processing system, information related to the application's memory usage including a maximum heap memory size and a garbage collection activity level;
- and
- based on determining that the garbage collection activity level is below a first threshold, releasing memory from the application by reducing the maximum heap memory size.
An information processing system comprising:
- a memory comprising a heap memory for use by at least one application;
- a processor communicatively coupled to the memory;
- a garbage collector communicatively coupled to the processor and the memory, wherein unused memory in the heap memory is reclaimed by the garbage collector;
- and
- wherein the processor, responsive to executing computer instructions, performs operations comprising:
- periodically monitoring information related to the application's memory usage including a maximum heap memory size and a garbage collection activity level;
- and
- based on determining that the garbage collection activity level is below a first threshold, releasing memory from the application by reducing the maximum heap memory size.
A computer readable storage medium, comprising computer instructions which, responsive to being executed by a processor cause the processor to perform operations, the processor being in an information processing system comprised of a memory communicatively coupled to the processor, the memory comprising a heap memory, and a garbage collector communicatively coupled to the processor and the memory, wherein unused memory in the heap memory is reclaimed by the garbage collector, and wherein the processor, responsive to executing the computer instructions, performs operations comprising:
- periodically monitoring information related to the application's memory usage including a maximum heap memory size and a garbage collection activity level;
- and
- based on determining that the garbage collection activity level is below a first threshold, releasing memory from the application by reducing the maximum heap memory size.
Dependencies are inferred from the claim text.