Patent ID: 7827538

Claim:
A memory leak detection system for memory leak detection in a computer system, comprising: computer means for starting a computer system running a Java interface; computer means for finding an allocation site wherein the allocation site is responsible for allocating objects which accumulate in a memory heap to form a found allocation site, responsive to computer means for starting the computer system running a Java interface; and computer means for monitoring memory activity related to the found allocation site to discover a memory leak related thereto by detecting growth in heap size, responsive to starting the computer system running the Java interface, wherein the computer means for monitoring memory activity comprises computer means for detecting a growth in heap size following a start-up phase, and wherein the computer means for detecting a growth in heap size following a start-up phase comprises computer means for detecting a growth in size of a surrogate heap tracking a subset of objects existing in another heap, wherein the surrogate heap is comprised of at least one object ID and at least one allocation site ID that uniquely identifies the allocation site by an integer, wherein the allocation site comprises a method name in a class file, at least one line number in the class file, and at least one class file that called the method name.