Method and system for approximating object sizes in an object-oriented system
Abstract
A method and system for increasing a system's performance and achieving improved memory utilization by approximating the memory sizes that will be required for data objects that can be deserialized and constructed in a memory cache. The method and system may use accurate calculations or measurements of similar objects to calibrate the approximate memory sizes.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for calculating memory size requirements of an object, comprising: receiving, by a computer, a new object that is to be stored in a memory cache, acquiring, by the computer, a known memory size of a similar object with at least one fixed size component, using, by the computer, the known memory size of the similar object to approximate a memory size required by the new object by determining that at least one fixed size component of the new object is equivalent in size to a respective fixed size component of the similar object, calculating, by the computer, an actual size of each of one
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (1)
- Vladimir Roubtsov, Sizeof for Java: Object sizing revisited, JavaWorld.com (http://www.javaworld.com/javaworld/javaqa/2003-12/02-qa-1226-sizeof.html), Dec. 26, 2003, pp. 1-10, United States.