Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 498 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 498 Bytes

Memory leak search

Goal of this tiny project is to automate searching for memory leaks in Apache Karaf.
It searches for leaked references to classloaders.

Build

Build maven project as usual

mvn clean package

Usage

  1. take heap dump with command

    jmap -dump:live,format=b,file=file_with_heapdump.hprof PID
  2. pass dump to this program

    java -jar target/memory-leak-search-1.0-SNAPSHOT.jar /path/to/file_with_heapdump.hprof