Device and method for determining memory leaks
Abstract
A device and method generates a graphical representation for memory leak detection. The method includes executing a selected application for a time period. The method includes determining a plurality of memory application programming interface (API) functions performed during the execution of the selected application in the time period. Each of the memory API functions request a chunk of a memory of the electronic device at a specified time. The method includes determining select ones of the memory API functions that do not release the respective chunk of the memory in the time period. The method includes generating the graphical representation including the selected memory API functions at the respective specified time for identification of a memory leak of the selected application.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: executing a selected application for a time period; determining a plurality of memory application programming interface (API) functions performed during the execution of the selected application in the time period, each of the memory API functions requesting a chunk of a memory of the electronic device at a specified time; determining select ones of the memory API functions that do not release the respective chunk of the memory in the time period; determining a respective size of each chunk of the memory requested and not released by each of the memory API functions; and
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,169,866 B2 | Method for detecting memory leak and electronic device thereof | 2021 | 0 |
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- "Rational PurifyPlus for Linux Reference Manual", support@rational.com, http://www.rational.com Version:2003.06.00 Unix, 2003, 69 pps.
- Demetriou′ "Google CPU Profiler Binary Data File Format", https://gperftools.googlecode.com/svn/trunk/doc/cpuprofilefileformat.html, Google, 29th Nov. 2007, 3pps.
- Ghemawat, "Gperftools CPU Profiler", https://gperftools.googlecode.com/svn/trunk/doc/cpuprofile.html Google, 4th Nov. 2012 , 8 pps.
- Roy, "Mpatrol: A library for controlling and tracing dynamic memory allocation", Edition 2.17 for mpatrol version 1.5.1, 19th Dec. 2008, 258 pps.
- Seward et al, "Valgrind Documentation", Release 3.10.0, 10th Sep. 2014, 349 pps.