Patent ID: 7313661
Filing Date: 2007-12-25
Classification: G06F

Abstract:
1. A method for identifying memory leak causes, comprising operations of: tracking a number of allocations of objects during a time period, the time period is in a multiple of an epoch wherein the epoch represents one garbage collection cycle; storing in a first table the number of allocations of the objects and a corresponding epoch sequence number in which the objects were allocated; storing in a second table a unique identifier of each of the objects and a corresponding epoch sequence number in which each of the objects were allocated; deleting a line in the second table that includes the unique identifier and the corresponding epoch sequence number when an object represented by the unique identifier is reclaimed during a garbage collection, and decrementing in the first table the number of allocations of the objects corresponding to the corresponding epoch sequence number that is deleted from the second table; and deleting a corresponding line in the first table when the number of allocations of the objects becomes zero.