get_heap_data
Retrieve heap dump data to analyze memory usage, identify largest objects, examine class retention, and generate class histograms for Java application profiling.
Instructions
Retrieve aggregated data of a heap dump. Can show biggest objects, retained class lists, and class histograms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | The view type: either biggest_objects (the default) to get a list of biggest objects, retained_classes to show a retained class list for a single biggest object, or classes for a class histogram for the complete heap. | |
| biggestObjectId | No | If view is retained_classes, supply the ID of the biggest object from the biggest_objects view. | |
| packageFilter | No | Optional comma-separated package filter to focus on classes of interest. |