Jump to content
  • Advertisement
Sign in to follow this  
Storyyeller

tool for finding memory leaks

This topic is 3032 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Are there any good, free tools for finding memory leaks? I am using Code::Blocks with Windows Vista (32bit). I think it uses Mingw. I'd prefer to avoid cluttering up my code with macros that globally override new or whatever. Especially since one of the libraries I'm using employs a custom allocator, so a simplistic approach would probably fail to catch all cases. Also, if I am looking for memory leaks, would it be better to test under debug build or release? I assume the later.

Share this post


Link to post
Share on other sites
Advertisement
Hi storyteller:

I have found a web where there are several tools for this kind of test.
http://stackoverflow.com/questions/413477/is-there-a-good-valgrind-substitute-for-windows

Quote:

Also, if I am looking for memory leaks, would it be better to test under debug build or release? I assume the later.


No, you should test it against both builds, but more on the debug build, because it has debugging symbols that let you spot leaks easier.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!