摘要 |
#CMT# #/CMT# The method involves recording an information of an occurred allocation in an allocation list (115) during a program run (113) with each allocation of a memory area, and examining the list having a reference sample of information, stored for one or multiple memory leakages. The program run is interrupted after finding a stored reference-sample. The detected memory leakage is assigned to the area of the running program, so that the last entry takes place in the allocation list by its processing. #CMT# : #/CMT# An independent claim is also included for a computer program product that comprises a computer program implemented on a computer. #CMT#USE : #/CMT# Used for the detection of memory leakages in computer program product. #CMT#ADVANTAGE : #/CMT# The information of an occurred allocation in an allocation list is recorded during a program run. The detected memory leakage is assigned to the area of the running program, so that the last entry takes place in the allocation list by its processing, and thus ensures determining the leakage by stopping at the moment, the state of a memory leakage, at which the memory leakage developed and repaired the error in programming. #CMT#DESCRIPTION OF DRAWINGS : #/CMT# The figure shows a flow diagram of the method. 101,113 : Program run 103a,103b : Memory leakage list 104a,104b : Program 105a,105b : Data file 107 : Differentiation unit 109 : Unit 111,119 : Registry file 113 : Program run 115 : Allocation list 121 : Program termination 123 : Source code. |