Heap summary (.sparkheap)
get_heap_summaryRetrieves the largest retained object types by size from a Spark heap dump, with instance counts, to identify memory leaks and optimize memory usage.
Instructions
For a .sparkheap file: the largest retained types by size, with instance counts.
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": {
"profileId": "<profileId>"
},
"name": "get_heap_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topN | No | ||
| profileId | Yes | The id returned by load_profile. |