Memory leak detection
Abstract
Embodiments of the invention provide systems and methods for detecting an analyzing memory leaks. According to one embodiment, a method of detecting a memory leak can comprise collecting instance count data for a number of instances of a plurality of classes in a memory heap. A correlation coefficient can be calculated for each of the plurality of classes in the memory heap. The correlation coefficient can represent a relevance of the class to a growth of the memory heap. Classes contributing to the growth of the memory heap can then be identified based on the correlation coefficient.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 5.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for detecting a memory leak, the method comprising: collecting instance count data for a number of instances of a plurality of classes in a memory heap; calculating a correlation coefficient for each of the plurality of classes in the memory heap, the correlation coefficient representing a relevance of the class to a growth of the memory heap and wherein calculating the correlation coefficient comprises initializing mean instance size and instance count values for each class, calculating the mean instance size for each class, and accumulating the instance count for each class; and ide
- Claim 2Depends on #1
The method of claim 1 , wherein collecting instance count data for the instances of the plurality of classes comprises collecting c
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (26)
Non-Patent Literature (3)
- U.S. Appl. No. 12/773,203, filed May 4, 2010, Final Office Action mailed Jan. 23, 2013, 11 pages.
- U.S. Appl. No. 12/773,203, filed May 4, 2010, Notice of Allowance mailed Apr. 4, 2013, 19 pages.
- U.S. Appl. No. 12/773,203, filed May 4, 2010, Office Action mailed Jun. 13, 2012, 14 pages.