6-10
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
OL-17502-01
Chapter 6 Troubleshooting the Cisco IOS XR Software
Memory Warnings in Configuration Sessions
Removing Configurations to Resolve Low-Memory WarningsTo 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 6-10
• Removing Committed Configurations to Free System Memory, page 6-10
• Rolling Back to a Previously Committed Configuration, page 6-11
• Clearing Configuration Sessions, page 6-11
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, type the clear command to discard the changes. For
example:
RP/0/RSP0/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:
Step 1 Type t he show memory summary command in EXEC mode to display the overall system memory:
RP/0/RSP0/CPU0:router# show memory summary
Physical Memory: 2048M total
Application Memory : 1787M (1511M available)
Image: 132M (bootram: 132M)
Reserved: 128M, IOMem: 0, flashfsys: 0
Total shared window: 0
Step 2 Type t he show configuration commit list command in EXEC or administration EXEC mode to list the
configurations you can remove.
Process and JID Process and job ID.
Address Starting address in memory.
Bytes Size of memory block.
What Block description.
Table 6-1 Heading Descriptions for show memory Command Output
Heading Description