cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
641
Views
2
Helpful
3
Replies

Do I need to enable "set memory debug" in order to store memory leaks?

hfakoor222
Spotlight
Spotlight

In this guide about halfway through it describes "show memory debug leaks summary"

https://www.cisco.com/c/en/us/td/docs/ios/fundamentals/configuration/guide/TIPs_Conversion/msm_15_1s_book/cf_mem-leak-detect.html

in order for me to store memory leaks do I need to set it like so?

set memory debug incremental starting-time

I'm asking if the router stores memory leaks by default as well or does it need to be enabled with the above command.

 

The guide doesn't seem to clarify if setting memory debug-incremental needs to be set.

 

 

 

1 Accepted Solution

Accepted Solutions

I read the doc. you share
and I am sure that the router/Sw never save the memory leak, and you need above command to start save it.
but the issue when I read doc. where the R/SW save it in which file in which dir. 
that why I not answer you. 
but sure you need this command to start save memory leak,

View solution in original post

3 Replies 3

hfakoor222
Spotlight
Spotlight

Bump, if anyone knows this off top of their head, im currently looking into it

I read the doc. you share
and I am sure that the router/Sw never save the memory leak, and you need above command to start save it.
but the issue when I read doc. where the R/SW save it in which file in which dir. 
that why I not answer you. 
but sure you need this command to start save memory leak,

the doc also said:

 

The Memory Leak Detector feature is a tool that can be used to detect memory leaks on a router that is running Cisco IOS software. The Memory Leak Detector feature is capable of finding leaks in all memory pools, packet buffers, and chunks.

 

Your software release may not support all the features documented in this module.

"Memory leaks are static or dynamic allocations of memory that do not serve any useful purpose. Although technology is available for detection of leaks among statically allocated memory, in this document the focus is on memory allocations that are made dynamically."

 

 

I assumed if setting it up and checking for large amounts of leaks might've been useful, it seemed like an interesting feature.