9-17
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Chapter 9 Troubleshooting the Cisco IOS XR Software
Memory Warnings in Configuration Sessions
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 9-17
• Removing Committed Configurations to Free System Memory, page 9-17
• Rolling Back to a Previously Committed Configuration, page 9-19
• Clearing Configuration Sessions, page 9-19
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. Also, 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 Enter the show memory summary command in EXEC mode to display the overall system memory:
RP/0/RP0/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 Enter the show configuration history command in EXEC mode to see if a large configuration forced
the router over the limit.