Patent ID: 11874731
Assignee: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 17:
18. A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to:
determine a first snapshot and a second snapshot of memory usage by processes in a computing system based on a predetermined time interval, wherein a respective snapshot of the first snapshot and the second snapshot indicates, for a respective process, memory usage corresponding to memory types including a private memory and a shared memory;
compute, for processes common to the first snapshot and the second snapshot, a likelihood of a memory leak for a process and a memory type based on:
an increase in an amount of a heap memory and a private memory used by the process,
an increase in an amount of a shared memory used by the process, and
an increase in a total amount of the private memory and the shared memory used by the process;

compare the computed likelihood for the process with a predetermined threshold;
responsive to determining that the computed likelihood for the process exceeds the predetermined threshold, initiate a corrective action to address a memory leak associated with the process; and
cause display, for the common processes, information comprising:
an increase or a decrease in an amount of a proportional set size (PSS) shared memory used by the process,
the increase or a decrease in the amount of the heap memory used by the process,
the increase or a decrease in the amount of the private memory used by the process,
the increase or a decrease in the amount of the shared memory used by the process, and
the increase in the total amount of the private memory and the shared memory used by the process.