Analyze Heap Histogram
analyze_heap_histoParses jmap -histo output to rank classes by bytes, report total heap, and flag suspected application-level memory leaks from non-JDK classes above 5% heap.
Instructions
Parse jmap -histo output: top classes by bytes, total heap, and suspected application-level memory leaks (non-JDK classes taking >5% heap).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"histo": "<histo>"
},
"name": "analyze_heap_histo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| histo | Yes | Output of `jmap -histo <pid>`. |