Showing results for 
Search instead for 
Did you mean: 

IOS Upgrade procedure fails with memory allocation error



during the upgrade procedure of a Cisco WS-C2960-48TC-L switch, from the IOS version c2960-lanbasek9-mz.150-2.SE4 to

c2960-lanbasek9-mz.150-2.SE5 i'm getting the following error message:

Dec  4 10:54:10.849: %SYS-2-MALLOCFAIL: Memory allocation of 252160 bytes failed from 0xEE4D2C,                                                 alignment 0
Pool: Processor  Free: 773516  Cause: Memory fragmentation
Alternate Pool: None  Free: 0  Cause: No Alternate pool
-Process= "SSH Process", ipl= 0, pid= 180
-Traceback= E610A0z 1480398z 1486F74z 17C87A0z EE4D30z EE74F4z EE3914z 6009ECz 6042CCz 606150z DB3D74z DB9F94z DC95E0z 179525Cz 178C4A4z 14FB084z

and the upgrade procedure exits and leaves the switch in an inconsistent system state.

The DRAM requirements of the ios image are satisfied and i have also succesfully applied the same ios image to a bunch of other WS-C2960-48TC-L switches in our enviroment.

A rollback to the former ios image c2960-lanbasek9-tar.150-2.SE4 works fine too.

After some resarch in the web, i found the following links:


So according to the error message, the reason for the memory consumption is the SSH process, but i have no idea why?

So my questions are:

1. Could a switch reload, before applying the update, solve my memory problem?

2. Reduces the deactivation of the switch interfaces the memory consumption, so that i'm able to apply the upgrade properly?

Yours sincerely

Jörg Radke

1 Reply 1

Leo Laohoo
VIP Community Legend VIP Community Legend
VIP Community Legend

Downgrade your IOS to either 12.2(55)SE8 or 15.0(2)SE4. Do not attempt to use 15.0(2)SE5 as there are new bugs which are making their return engagements.

Sent from Cisco Technical Support Nintendo App

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers