Cisco Support Community

High memory usage or memory leak is due to the CDP process in Catalyst 2940, 2950, 2970, 3550 and 3750 series switches

Core issue

Memory leaks are static or dynamic allocations of memory that do not serve any useful purpose. In order to display the memory used, use the show processes memory command in the privileged EXEC mode.

This problem is documented in Cisco bug ID CSCec89172.

This bug only affects devices that run Cisco IOS  Software Release 12.1(19)EA1. This problem does not affect any other Cisco IOS software release.


The workaround for this issue is to try one of these options:

  1. Use the global configuration no cdp run command in order to disable CDP.  

  2. Upgrade the Cisco IOS of the switch to Cisco IOS Software Release 12.1(19)EA1a and later, which you can download from the LAN Switching Software page.


Refer to Memory and CPU Measurement for more information.