332
Examples
# Display brief information about heap memory usage for the process identified by job ID 148.
<Sysname> display process memory heap job 148
Total virtual memory heap space(in bytes) : 2228224
Total physical memory heap space(in bytes) : 262144
Total allocated memory(in bytes) : 161576
# Display detailed information about heap memory usage for the process identified by job ID 148.
<Sysname> display process memory heap job 148 verbose
Heap usage:
Size Free Used Total Free Ratio
16 8 52 60 13%
64 3 1262 1265 0.2%
128 2 207 209 1%
512 3 55 58 5.1%
4096 3 297 300 1%
8192 1 19 20 5%
81920 0 1 1 0%
Summary:
Total virtual memory heap space (in bytes) : 2293760
Total physical memory heap space (in bytes) : 58368
Total allocated memory (in bytes) : 42368
Table 72 Command output
Field Descri
tion
Size Size of each memory block, in bytes.
Free Number of free memory blocks.
Used Number of used memory blocks.
Total Total number of memory blocks.
Free Ratio Ratio of free memory to total memory. It helps identify fragment information.
Related commands
• display process memory
• display process memory heap address
• display process memory heap size
display process memory heap address
Use display process memory heap address to display heap memory content starting from a specified
memory block for a process.
Syntax
Centralized devices in standalone mode:
display process memory heap job job-id address starting-address length memory-length
Distributed devices in standalone mode/centralized devices in IRF mode: