Hey guys,
I'd like to hear some reccomendations on tools for monitoring applications created in C++ (with SDL) and reporting any and all memory leaks. I tried Memprof but couldn't get it to work :(
Printable View
Hey guys,
I'd like to hear some reccomendations on tools for monitoring applications created in C++ (with SDL) and reporting any and all memory leaks. I tried Memprof but couldn't get it to work :(
Well I've used electric fence in the past with some success.
Many others suggest valgrind as an alternative.
Yeah, I used gprof once, but I didn't have profiling support compiled in my kernel. If you are looking at profiling, (you are), you need to enable profiling support.
kernel-2.6.*
profiling support->profiling support[*]
I personally use valgrind and gprof. I used electric fence in the past, but I don't think its being maintained any longer, and I believe it doesn't work if NPTL is enabled.
Not a reccomendation (never used it), but you are free to check it out for yourself:
http://www.inf.ethz.ch/personal/bier...ects/ccmalloc/