dump_java_heap
Capture a live heap dump from a running JVM and start Eclipse MAT parsing. Preview the target, output path, disk space, and timeout first, then confirm to execute.
Instructions
Capture a LIVE heap dump from a running JVM and start MAT parsing. First call with confirm=false (default) to preview the target, output directory, disk space, and timeout; call again with confirm=true to execute. A live dump triggers a Full GC and may pause the target JVM. The dump is written to output_dir (default: current working directory) and is automatically opened for MAT parsing. / 从运行中的 JVM 抓取 live 堆转储并自动开始 MAT 解析。先用默认 confirm=false 预览目标、输出目录、磁盘空间和超时,再用 confirm=true 执行。live dump 会触发 一次 Full GC,可能暂停目标 JVM;默认输出到当前目录。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| confirm | No | ||
| timeout | No | ||
| output_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |