PDA

View Full Version : How do you find memory leaks?



stair314
October 13th, 2008, 05:23 AM
What's the best way to locate memory leaks in Ubuntu? I'm programming in C++, compiling with g++.

meanburrito920
October 13th, 2008, 05:28 AM
A quick google search will pull up plenty of options, I know FF uses Valgrind for its testing, which seems to be a good choice.

loell
October 13th, 2008, 05:29 AM
mostly you'll be using valgrind to detect and confirm it.