7-9
Cisco IOS XR Getting Started Guide
OL-10957-02
Chapter7 Troubleshooting the Cisco IO SXR So ftware
Memory Warnings in Configuration Sessions
Memory Warnings in Configuration Sessions
The Cisco IOS XR software automatically monitors and manages the system resources in a router.
Under normal operating conditions, memory problems should not occur.
When a low-memory issue does occur, it is often in the form of a low-memory warning during a
configuration session. Low-memory conditions can be caused by mul tiple, large configurations being
added to the router at a single time. Users can remove the source of a problem by removing
configurations.
The following sections describe the commands used to display memory usage i n a router and what to do
if a low-memory warning appears:
Understanding Low-Memory Warnings in Configuration Sessions, page 7-9
Displaying System Memory Information, page 7-10
Removing Configurations to Resolve Low-Memory Warnings, page 7-11
Contacting TAC for Additional Assistance, page 7-13

Understanding Low-Memory Warnings in Configuration Sessions

The Cisco IOS XR software monitors memory u sage in the Cisco CRS-1 router. If system memory
becomes low, an error message is displayed when you attempt to enter configuration mode.
An “out-of-memory” error message is displayed during one of the following situations:
When a user attempts to enter configuration mode.
During a configuration session when the memory shortage occurs.
When a user attempts to load a target configuration from a large file that results in a memory
shortage.
During a commit operation that results in the low-memory warning message. The commit operation
is denied and only lr-root users can perform commit operations to remove configurations.
Caution Never ignore a low-memory warning. These warnings indicate a memory state that could affect system
operations if not addressed.

“WARNING! MEMORY IS IN MINOR STATE”

If the system memory begins to run low, the following minor memory warning is displaye d when you
enter a new configuration mode.
WARNING! MEMORY IS IN MINOR STATE
Although users are allowed to enter configuration mode, they should immediatel y reduce memory usage
using the tools described in the “Removing Configurations to Resolve Low-Memory Warnings” section
on page 7-11.
Failure to take action can result in a worsening situation and eventual impact to router operations.