Patents
US 8,429,620 B2#14548066 Most CitedActiveUnited States (USPTO)Utility

Memory leak diagnosis

7Forward Citations (#14548066 Global)
0.5/yrCitation Velocity (#14735584 Global)
2.26Citation PageRank (#11994518 Global)
10Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method and an apparatus for diagnosing memory leak. The method includes: tracing the allocation of objects; recording allocation paths and allocation time of each object; giving to each object one unique identifier (ID) corresponding to an allocation path; determining the allocation path to which each object belongs; organizing the objects which are allocated but still not collected, and counting the age generations of the objects of the similar type according to the allocation time of each object; ranking the allocation paths according to the age generations of the surviving objects; and analyzing the ranking of the allocation paths, in which the allocation path with higher rank is more probable to introduce memory leaks. Thus, the suspicious allocation path possibly incurring memory leaks is selected and reported to the user for analysis.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 7.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for diagnosing a memory leak, the method comprising: tracing allocation of at least one object performed at runtime on a virtual machine, the object being created by an application program wherein the tracing including: acquiring corresponding allocation paths and corresponding allocation times of the objects; and recording the corresponding allocation paths and the corresponding allocation times of the objects, with the recording comprising assigning a unique identifier (ID) to each of the objects corresponding to the allocation path; counting age generations of the objects of a simi

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (2)

  • Java Performance Tuning, http://www.javaperformancetuning.com/tools/netbeansprofiler/index.shtml, (Nov. 2005).
  • Ostlund, "Memory Leak Detection with the JRockit JVM", http://weblogic.sys-con.com/node/48224, Feb. 11, 2005.