Measuring the exact memory requirement of an application through intensive use of garbage collector
Abstract
Method and apparatus are disclosed for the intensive use of garbage collection in order to determine the exact amount of memory that is consumed by a running application at any point of its execution. A garbage collector executes immediately prior to allocations of memory during execution of a program. The amount of memory used by the application is known after each such allocation of memory, and is very close to or equal to its theoretical requirement. A developer is also enabled to determine whether a specified memory allotment for an application is ever exceeded.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 29.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for evaluating storage requirements of a computer application, comprising the steps of: executing code of said application on a development platform, wherein said application is a MIDlet adapted to execute on a mobile information device; designating program instructions in said code at which garbage collection is to be performed for a memory that is allocated in a heap; running a garbage collector to free a portion of said memory from said heap that is no longer in use at each of said designated program instructions while executing said code; after running said garbage collector, dete
- Claim 2Depends on #1
The method according to claim 1 , wherein said step of designating
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 29 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (1)
- Mobile Information Device Profile (JSR-37), JCP Specification, Java 2 Platform, Micro Edition, 1.0a (Sun Microsystems Inc.)., Palo Alto, California, Dec. 2000.