jmap
Verified for current stable LTS
Jmap Command: Print Heap Summary Information
Use for print heap summary information with Jmap. Exact CLI syntax to print heap summary information using Jmap.
When to use this: Use for print heap summary information with Jmap.
Command Syntax
jmap -heap <filename.jar> <java_pid> jmap -heap <filename.jar> <java_pid> Command Breakdown
-heap- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to print heap summary information using Jmap.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Jmap Command: Dump Heap Contents Into Binary File
jmap -dump:format=b,file=<path/to/file> <java_pid> Jmap Command: Dump Live Objects Of Heap Into Binary File jmap -dump:live,format=b,file=<path/to/file> <java_pid> Jmap Command: Print Heap Usage Histogram By Type jmap -histo <java_pid> Jmap Command: Print Shared Object Mappings Java Process jmap <java_pid>