Patent ID: 7743280

Claim:
A computer system, comprising: a memory; a modifiable profiler coupled to the memory, the modifiable profiler being programmed to: in response to a first heap dump event request comprising a first configuration file, create a plurality of heap dump files by causing successive dumping of a heap of the memory, the plurality of heap dump files comprising a first and a second heap dump file, each of the plurality of heap dump files comprising a plurality of objects; determine a first command file from the first configuration file, the first command file controlling the modifiable profiler; and in response to a second heap dump event request comprising a second configuration file, determine a second command file, the second command file modifying control of the modifiable profiler; and an object tracker coupled to the memory, the object tracker being programmed to: store in a cache an object identification for each of the objects in the first heap dump file; associate one of a plurality of generation numbers with each of the object identifications stored in the cache; identify a specific one of the plurality of generation numbers; and remove persistent objects from the heap to correct a memory leak and dump the persistent objects into a file, each of the persistent objects having a corresponding object identification stored in the cache with an associated the specific one of the plurality of generation numbers.