![Cisco ASR 14000 Series Management Command Reference Download Page 558](http://html.mh-extra.com/html/cisco/asr-14000-series/asr-14000-series_management-command-reference_66667558.webp)
C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Process and Memory Management Commands on Cisco IOS XR Software
show memory heap
SMR-556
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
0x000008c1 0x000008cc 0x00000001 0x7c018a10
0x000005ac 0x00000974 0x00000079 0x7c02b9e0
0x000004f0 0x000004f8 0x00000001 0x7c02b6fc
0x00000080 0x00000088 0x00000001 0x7c01936c
0x00000034 0x00000048 0x00000001 0x7c018954
0x00000024 0x00000030 0x00000001 0x7c019278
0x00000018 0x00000020 0x00000001 0x7c019b2c
0x00000008 0x00000010 0x00000001 0x7c017178
0x00000008 0x00000010 0x00000001 0x7c00fb54
0x00000008 0x00000010 0x00000001 0x7c00fb80
0x00000008 0x00000010 0x00000001 0x7c00fbb8
describes the significant fields shown in the display.
The following is sample output from the
show memory heap
command, specifying the
summary
keyword and a job ID for the
job-id
argument:
RP/0/RP0/CPU0:router#
show memory heap summary 65
Malloc summary for pid 20495 process pcmciad:
Heapsize 65536: allocd 40332, free 16568, overhead 8636
Calls: mallocs 883; reallocs 3; frees 671; [core-allocs 4; core-frees 0]
Band size 16, element per block 48, nbuint 1
Completely free blocks: 0
Block alloced: 2, Block freed: 0
allocs: 85, frees: 20
allocmem: 1040, freemem: 496, overhead: 448
blocks: 2, blknodes: 96
Band size 24, element per block 34, nbuint 1
Completely free blocks: 0
Block alloced: 1, Block freed: 0
allocs: 243, frees: 223
allocmem: 480, freemem: 336, overhead: 168
blocks: 1, blknodes: 34
Band size 32, element per block 26, nbuint 1
Completely free blocks: 0
Block alloced: 1, Block freed: 0
Table 65
show memory heap Field Descriptions
Field
Description
Malloc summary for pid
System-defined process ID (PID).
Heapsize
Size of the heap as allocated from the system by the malloc
library.
allocd
Bytes allocated to the process.
free
Bytes available in the heap.
overhead
Malloc library overhead in bytes.
mallocs
Number of malloc calls.
reallocs
Number of realloc calls.
frees
Number of invocations to the caller interface provided in the
malloc library for deallocating the memory.
[core-allocs 1; core-frees 0]
Number of core memory units, the memory units in the
malloc library allocated by the system for the heap, allocated
and freed.