Chapter 7 Troubleshooting the Cisco IOS XR Software

Memory Warnings in Configuration Sessions

“ERROR! MEMORY IS IN SEVERE (or CRITICAL) STATE”

When the memory is in a severe or critical state, router operation and performance is likely to be affected. Regular users are not allowed to enter configuration mode. Only lr-root owners can enter configuration mode to free memory by removing configurations.

In some situations, the commit command is not allowed. Users with lr-root access can still use the commit force command to apply configurations that reduce memory usage. Reducing memory usage normally means removing configurations, but a user can also add configurations that reduce memory usage. For example, configuring the shutdown command on an interface could cause numerous routes to be purged from Border Gateway Protocol (BGP), the Routing Information Base (RIB), and Forwarding Information Base (FIB) configurations.

Caution The commit force command should be used only to apply configurations that reduce memory usage. Adding configurations that increase memory usage could result in serious loss of router operation.

Displaying System Memory Information

To display a high level summary of system memory, enter the show memory summary command. Table 7-1describes the meaning of each heading.

RP/0/RP0/CPU0:router# show memory summary

Physical Memory: 2048M total

Application Memory : 1787M (1509M available)

Image: 132M (bootram: 132M)

Reserved: 128M, IOMem: 0, flashfsys: 0

Total shared window: 0

RP/0/RP1/CPU0:router#

To display general memory usage for the device as a whole and by process, enter the show memory command. Table 7-1describes the meaning of each heading.

RP/0/RP0/CPU0:router# show memory

Physical Memory: 2048M total

Application Memory :

1787M (1510M available)

Image: 132M (bootram: 132M)

 

 

Reserved: 128M, IOMem: 0, flashfsys: 0

 

Total shared window:

0

 

 

kernel: jid 1

 

 

 

 

Address

Bytes

 

What

 

000d2000

12288

 

Program

Stack

00112000

12288

 

Program

Stack

Total Allocated Memory: 0

 

 

Total Shared Memory: 0

 

 

pkg/bin/wd-mbi: jid 72

 

 

Address

Bytes

 

What

 

4817f000

4096

 

Program

Stack (pages not allocated)

48180000

516096

Program

Stack (pages not allocated)

481fe000

8192

 

Program

Stack

48200000

8192

 

Program

Text

--More--

 

 

 

 

 

Cisco IOS XR Getting Started Guide

7-10

OL-10957-02

Page 186
Image 186
Cisco Systems Cisco IOS XR manual Displaying System Memory Information, ERROR! Memory is in Severe or Critical State