create_heap_dump
Dump the heap of a local or containerized JVM to an HPROF file for analysis. Check loading status and retrieve data after the dump completes.
Instructions
Dump the heap of a locally running JVM or of a JVM inside a Docker container to an HPROF file and load it for analysis. You must call check_status to check the loading progress and - after this returns 'data_ready' - retrieve data with get_heap_data. You can use list_jvms to discover JVMs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | The PID of a local JVM process, or the container PID (NSpid) of a JVM inside the specified container. If a container is specified and this is omitted, the topmost JVM in the container is used. | |
| containerNameOrId | No | The name or ID of a Docker container. When specified, profiling attaches to a JVM inside this container. |