Memory leakage management
Abstract
Methods, systems, and media to enhance memory leakage management by identifying a suspect allocation pattern during execution of a task, which may be indicative of memory leakage and implementing measures to protect against memory leakage based upon the suspect allocation pattern, are disclosed. More specifically, embodiments may detect a suspect allocation pattern by monitoring memory allocations and deallocations for tasks. The pattern of memory allocations and deallocations may then be analyzed to determine whether a suspect allocation pattern exists. For instance, the memory allocations and deallocations may be compared to determine whether there is an increasing net residual allocation left by the task after it has reached a quiescent runtime state. In some embodiments, a suspect allocation pattern exists if the total memory allocation for a task continues to rise after a pre-determined time period.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system for managing memory leakage, the computer system comprising: a central processing unit (CPU); a memory coupled to the CPU; a memory allocation monitor, coupled to the memory, to monitor memory allocations and memory deallocations associated with a task of the computer system; and a leakage manager, coupled to the memory allocation monitor and memory, for: i) analyzing the memory allocations and memory deallocations by the task of the computer system to detect a suspect allocation pattern associated with the memory leakage; ii) determining to terminate the task in response to
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (1)
- Understanding of the Linux Kernel by Daniel P. Bovet and Marco Cesati Publication year Oct. 2000; ISBN 0-596-00002-2; Publisher: O'Reily; Chapters 6 and 7.