The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Apr. 23, 2013
Filed:
Jun. 25, 2009
Ying Chen, Beijing, CN;
Qiming Teng, Beijing, CN;
Xin Hui LI, Beijing, CN;
Ying LI, Beijing, CN;
Tian Cheng Liu, Beijing, CN;
Ying Chen, Beijing, CN;
Qiming Teng, Beijing, CN;
Xin Hui Li, Beijing, CN;
Ying Li, Beijing, CN;
Tian Cheng Liu, Beijing, CN;
International Business Machines Corporation, Armonk, NY (US);
Abstract
A method and an apparatus for diagnosing memory leak. The method includes: tracing the allocation of objects; recording allocation paths and allocation time of each object; giving to each object one unique identifier (ID) corresponding to an allocation path; determining the allocation path to which each object belongs; organizing the objects which are allocated but still not collected, and counting the age generations of the objects of the similar type according to the allocation time of each object; ranking the allocation paths according to the age generations of the surviving objects; and analyzing the ranking of the allocation paths, in which the allocation path with higher rank is more probable to introduce memory leaks. Thus, the suspicious allocation path possibly incurring memory leaks is selected and reported to the user for analysis.