From the Error decoder
1. %SYS-2-MALLOCFAIL: Memory allocation of [dec] bytes failed from [hex], alignment [dec] \nPool: [chars] Free: [dec] Cause: [chars] Alternate Pool: [chars] Free: [dec] Cause: [chars] \n
The requested memory allocation is not available from the specified memory pool. The router memory has been exhausted or fragmented. This condition may be caused by the current system configuration, the network environment, or a software error.
Recommended Action: Check the minimum memory requirements for your system configuration. If your system meets those requirements, this condition is probably caused by a software failure. To take advantage of recent fixes, upgrade your system to the latest Cisco IOS software release in your release train
HTH
Narayan