System and method for memory leak detection
Abstract
The present invention is directed to detecting leaks in computer memory. Memory leaks are detected by analyzing computer component memory usage records. The first derivative of the memory usage data is computed. If the area under a curve created by a plot of the first derivative of the memory usage data is greater than zero, the second derivative of the memory usage data is computed. If the area under a curve created by a plot of the second derivative of the memory usage data also is greater than or equal to zero, the memory usage data is analyzed to determine how many minima points are present in the memory usage data. If less than four memory usage data minima points are present, a memory leak exists. If four or more minima points are present in the memory usage data, the minima points are further processed to determine if a memory leak exists.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 19.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of detecting a leak in a computer memory, comprising: obtaining memory usage data for a memory using component; computing the first derivative of the memory usage data; determining if the area under a curve based on said first derivative of the memory usage data is greater than a predetermined value; if the area under a curve based on said first derivative of the memory usage data is greater than said first predetermined value, computing the second derivative of the memory usage data; determining if the area under a curve based on said second derivative of the memory usage data is gre
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 19 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- Agarwal, S., "Simple Memory Leak Detection," windows developer magazine, Feb. 2002, pp. 37-38.
- Arnold, T.R., and W.A. Fuson, "In a Perfect World," Communications of the ACM 37(9):78-86, Sep. 1994.
- De Pauw, W., and G. Sevitsky, "Visualizing Reference Patterns for Solving Memory Leaks in Java," Proceedings of 13th European Conference of Object-Oriented Programming (ECOOP '99), Lisbon, Portugal, Jun. 1999, pp. 116-134.
- Hastings, R., and B. Joyce, "Purify: Fast Detection of Memory Leaks and Access Errors," USENIX, Winter 1992, pp. 125-136.
- Hicks, Morrisett, Grossman, and Jim, Safe and Flexible Memory Management in Cyclone. Uni. Maryland Technical Report CS-TR-4514, Jul. 2003.