Skip to content

Latest commit

 

History

History
 
 

hprof-heap

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

JVM Heap Dump Analysis library

This library allows loading and inspecting JVM heap dumps via API.

Implementation is based on NetBeans profiler.

Changes compared to NetBeans profiler libarary

Main motivation for this fork was need in analyzing huge heap dumps (150 GiB). Both NetBeans and Eclipse Memory Analyzer are using disk to store support indexes for navigation though object graph.

For interaction graphical tool you really need these support structures.

But for batch processing these indexes do not bring much value.

I have modified original code from NetBeans to let it work without additional on disk structures.

Improvements

  • Does not create any temporary files on disk to process heap dump
  • Can work directly GZ compressed heap dumps
  • HeapPath notation

Limitations

  • Only forward reference traversing

Examples

This is libary not a tool. It can be used from Java code to analyze heap dump. Here few examples

Licensing

NetBeans profiler code is dualy licensed by CDDL or GPLv2 licenses (see details in file headers). All modifications on top of NetBeans code are licensed by Apache 2.0.