METHOD AND COMPUTER PROGRAMMING PRODUCT FOR DETECTING MEMORY LEAKS
First Claim
1. A method for detecting memory leaks produced by a program running on a computer, wherein during a program run, for each allocation of a memory region at least one information item concerning the performed allocation is entered in an allocation list;
- a check is made as to whether the allocation list contains a stored reference pattern of information that is typical for one or more memory leaks; and
upon finding a stored reference pattern the program run is paused, or a memory leak thus detected is associated with the region of the running program whose processing resulted in the most recent entry in the allocation list.
2 Assignments
0 Petitions
Accused Products
Abstract
The invention relates to a method for detecting memory leaks produced by a program running on a computer, wherein during a program run, for each allocation of a memory region at least one information item concerning the performed allocation is entered in an allocation list and a check is made as to whether the allocation list contains a stored reference pattern of information that is typical for one or more memory leaks, and after a stored reference pattern is found the program run is paused, or a memory leak thus detected is associated with the region of the running program whose processing resulted in the most recent entry in the allocation list. The invention further relates to a computer programming product which carries out the method when the computer program is executed on a computer.
32 Citations
12 Claims
-
1. A method for detecting memory leaks produced by a program running on a computer, wherein
during a program run, for each allocation of a memory region at least one information item concerning the performed allocation is entered in an allocation list; -
a check is made as to whether the allocation list contains a stored reference pattern of information that is typical for one or more memory leaks; and
upon finding a stored reference pattern the program run is paused, or a memory leak thus detected is associated with the region of the running program whose processing resulted in the most recent entry in the allocation list. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A program stored on a medium readable by a processor wherein during a program run, for each allocation of a memory region at least one information item concerning the performed allocation is entered in an allocation list;
-
a check is made as to whether the allocation list contains a stored reference pattern of information that is typical for one or more memory leaks; and
upon finding a stored reference pattern the program run is paused, or a memory leak thus detected is associated with the region of the running program whose processing resulted in the most recent entry in the allocation list.
-
Specification