Chapter 7 Troubleshooting the Cisco IOS XR Software

Memory Warnings in Configuration Sessions

Table 7-2

Heading Descriptions for show memory Command Output

 

 

 

Heading

 

Description

 

 

Physical Memory

Amount of physical memory installed on the device.

 

 

Application Memory

Memory available for the system to use (total memory minus image size,

 

 

reserved, IOMem, and flashfsys).

 

 

 

Image

 

Size of the bootable image.

 

 

 

Reserved

 

Reserved for packet memory.

 

 

 

IOMem

 

IO memory—Currently used as a backup for packet memory.

 

 

 

flashfsys

 

Flash file system memory.

 

 

Process and JID

Process and job ID.

 

 

 

Address

 

Starting address in memory.

 

 

 

Bytes

 

Size of memory block.

 

 

 

What

 

Block description.

 

 

 

Removing Configurations to Resolve Low-Memory Warnings

To resolve most low-memory problems, you should remove the configurations from the router that are consuming the most memory. Often, memory problems occur when a large new configuration is added to the system. The following sections provide information to resolve low-memory issues:

Clearing a Target Configuration, page 7-11

Removing Committed Configurations to Free System Memory, page 7-11

Rolling Back to a Previously Committed Configuration, page 7-12

Clearing Configuration Sessions, page 7-12

Clearing a Target Configuration

A low-memory warning can occur when a large configuration file is loaded into a target configuration session. To remove the target configuration, enter the clear command to discard the changes. For example:

RP/0/RP0/CPU0:router(config)# clear

Caution Committing a target configuration that has caused a low-memory warning can make the system unstable. Clearing a target configuration is a preventive measure to not let the system go into a worse memory state due to additional configuration. In addition, all other active configuration sessions can be closed to minimize the churn.

Removing Committed Configurations to Free System Memory

You can reduce memory usage by removing configurations from the router, as shown in the following procedure:

 

 

Cisco IOS XR Getting Started Guide

 

 

 

 

 

 

OL-10957-02

 

 

7-11

 

 

 

 

 

Page 187
Image 187
Cisco Systems Cisco IOS XR manual Removing Configurations to Resolve Low-Memory Warnings, Clearing a Target Configuration