Self-tuning statistical resource leak detection
Abstract
Self-tuned detection of memory leaks or other resource leaks is described. Sample size and sample rate are set manually or computationally selected. Self-tuning leak detection code uses one or more self-tuning mechanisms to exclude outlier sample points, to perform a second order linear regression, and/or to identify a derivative of a sequence of linear regression slopes. Statistical analysis computationally proactively determines what trend is present: upward, steady, or downward. Analysis may compare a linear regression slope to a threshold at which the slope realizes an upward trend, possibly only after crossing the threshold a specified number of times. Regression calculation may be optimized by setting an origin to the median of the time values and setting a scale to their constant time interval. A watchdog may use self-tuned detection to monitor processes, for efficiently recycling processes to prevent problems caused by resource loss.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computational proactive process for self-tuned memory leak detection, comprising the steps of: noting multiple memory usage sample points which show memory usage for a computational service, each noted sample point including a sample time and a memory size, the noted sample points having a mean; tuning at least some of the noted sample points for memory leak detection by computationally proactively doing at least one of the following: (a) double smoothing noted sample points, (b) identifying a derivative of a sequence of a plurality of linear regression slopes; statistically analyzing at lea
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (5)
- Carrozza, et al., "Memory Leak Analysis of Mission-Critical Middleware", Retrieved at <<http://wpage.unina.it/roberto.natella/papers/natella-leakanalysis-jss-2010.pdf>>, Journal of Systems and Software, vol. 83, No. 9, May 5, 2010, pp. 27.
- Carrozza, et al., "Memory Leak Analysis of Mission-Critical Middleware", Retrieved at >, Journal of Systems and Software, vol. 83, No. 9, May 5, 2010, pp. 27.
- International Search Report and Written Opinion, PCT/US2013/024557, Apr. 29, 2013, 9 Pages.
- Tsai, et al., "Low-Overhead Run-Time Memory Leak Detection and Recovery", Retrieved at <<http://www.tsai-family.com/tim-work/pubs/prdc06.pdf>>, 12th Pacific Rim International Symposium on Dependable Computing (PRDC'06), Dec. 18-20, 2007, pp. 329-340.
- Tsai, et al., "Low-Overhead Run-Time Memory Leak Detection and Recovery", Retrieved at >, 12th Pacific Rim International Symposium on Dependable Computing (PRDC'06), Dec. 18-20, 2007, pp. 329-340.