analyze_heap_histo
Detect memory leaks, object creation hotspots, and classloader leaks by parsing jmap -histo output.
Instructions
Parse jmap -histo output and detect memory leak candidates, object creation hotspots, classloader leaks, and heap composition issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| histo | Yes | The jmap -histo output text. Use `jmap -histo:live <pid>` for leak detection — the :live flag forces a full GC first so only reachable objects appear, giving the clearest signal for leaks. Use `jmap -histo <pid>` (without :live) for a cheaper snapshot that includes unreachable objects not yet collected. |