Method and apparatus for detecting a suspect memory leak
Abstract
A method for determining a suspect memory leak, including: sampling the throughput and memory usage of an application server; based on the sampled throughput, monitoring whether the throughput decrease continually, and based on the sampled memory usage, monitoring whether the memory usage remains stable within a predefined range; in response to a continual decrease of the throughput and the memory usage remaining stable within the predetermined range, determining that the application server is suspected of having a memory leak. Using the solution of the present invention can free an administrator of the burden of artificially identifying suspect servers, can identify a suspect server during runtime and further determine whether it actually has a memory leak.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 3.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for determining a suspect memory leak on an application server, comprising: sampling request throughput and memory usage of the application server; monitoring, based on the sampled throughput, whether the throughput trends in a decreasing direction based on calculating a statistical value of the throughput during each time window in multiple time windows; monitoring, based on the sampled memory usage, whether the memory usage is substantially stable at a target memory value; and determining, in response to the throughput trending in a decreasing direction and the memory usage being su
- Claim 2Depends on #1
The method of claim 1 , wherein, the statistical value of the throughput decreases in succession of the statistical v
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (5)
- Aiken, Alex and Xie, Yichen, Context- and Path-Sensitive Memory Leak Detection, ESEC/FSE-13 Proceedings of the 10th European Software Engineering Conference, Sep. 5, 2005, URL: http://portal.acm.org/citation.cfm?id=1081728.
- Dictionary definition for "memory leak", retrieved from http://en.wikipedia.org/wiki/Memory-leak on Mar. 20, 2014.
- Dictionary definition for “memory leak”, retrieved from http://en.wikipedia.org/wiki/Memory—leak on Mar. 20, 2014.
- State IP Office of the P.R.C, "SIPO Office Action," China Office Action, Aug. 4, 2014, International Application No. 201110254183.6.
- Tang et al., "LeakSurvivor: Towards Safely Tolerating Memory Leaks for Garbage-Collected Languages," usenix, Apr. 29, 2008, p. 1-21, http://static.usenix.org/events/usenix08/tech/full-papers/tang/tang-html/leaksurvive.html, Accessed on: Aug. 5, 2014.