×

Method and computer programming product for detecting memory leaks

  • US 8,504,996 B2
  • Filed: 06/20/2007
  • Issued: 08/06/2013
  • Est. Priority Date: 06/22/2006
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for detecting memory leaks produced by a computer program running on a computer comprising,creating a first memory leak list that records memory allocations that were not de-allocated after a first run of the computer program, wherein the list records the position of each such memory allocation and its size;

  • creating a second memory leak list that records memory allocations that were not de-allocated after the second run of the computer program, wherein the list records the position of each such memory allocation and its size;

    creating a stored reference pattern list by identifying consecutive entries on the first and second memory leak lists that correspond to one another;

    during a third run of the computer program using the stored reference pattern list to detect the portions of the computer program that created the memory leak;

    wherein the stored reference pattern list records lengths of memory leaks together with their respective relative distances are entered, and in which entries are provided therebetween for memory allocations that did not result in a leak.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×