Method for tracking memory usages of a data processing system
Abstract
Techniques for tracking memory usages of a data processing system are described herein. According to one embodiment, a memory manager is to perform a first lookup operation in a memory allocation table to identify an allocation entry based on a handle representing a memory address of a memory block allocated to a client and to retrieve a trace entry pointer from the allocation entry. The memory manager is then to perform a second lookup operation in a memory trace table to identify a trace entry based on the trace entry pointer and to increment a memory allocation count of the trace entry. The memory allocation count is utilized to indicate a likelihood of the client causing a memory leak.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 7.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method for managing memory, the method comprising: performing a first lookup operation in a memory allocation table to identify an allocation entry based on a handle representing a memory address of a memory block allocated to a client and to retrieve a trace entry pointer from the allocation entry; and performing a second lookup operation in a memory trace table to identify a trace entry based on the trace entry pointer and to increment a memory allocation count of the trace entry, wherein the memory allocation count is utilized to indicate a likelihood of the client ca
- Claim 2Depends on #1
The method of claim 1 , wherein the client is identified via a backtrace of a sequence of executable code of a program, and wherein the trace entry is indexed in the memory trace table based on a hash value of the
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 (8)
Non-Patent Literature (1)
- International Search Report and Written Opinion in Application No. PCT/US2012/056902, issued Dec. 10, 2012, pp. 1-10.