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.
Resolution
The workaround for this issue is to try one of these options:
Use the global configuration no cdp run command in order to disable CDP.
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.