Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Mystagogue

Memory leak hunting tools

This topic is 5897 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

So what is everyone''s favorite memory leak hunting tool? I''m looking to get one and I hear that GreatCircle is the best (and costs a whopping $1500 for a Windows 2000 platform license). Here is a web site listing others... http://www.mozilla.org/performance/tools.html I should also ask, does anyone know if Visual Studio .Net comes with some kind of memory leak hunter tool?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
look at _CrtDumpMemoryLeaks() in MSDN. Also other functions in the <crtdbg.h> file. These come with MSDN and are useful (to a point).

Share this post


Link to post
Share on other sites
Why not write it yourself?

Its quite easy to overload the new/delete operators and keep a list of allocated memory blocks, and dump out the unreleased blocks at quit time.
I''ve done this before and it founds leaks the BoundsChecker missed.

Share this post


Link to post
Share on other sites
Another commercial package you might look into is Insure++ from Parasoft. I''ve used it for about 1 1/2 years now on both Sun/SPARC and Windows 2000 platforms. I been rather satisfied with it.

Share this post


Link to post
Share on other sites
I used HeapAgent for a little while, and it was perfect... until it mysteriously stopped working altogether, and the technical support had no idea. So I would recommend using it as a free trial download (if they still have that option) while you fix your bugs, but not to pay for it.

[ MSVC Fixes | STL | SDL | Game AI | Sockets | C++ Faq Lite | Boost | Asking Questions | Organising code files ]

Share this post


Link to post
Share on other sites
Hmm, I notice the double post in flipcode too.

Anyway, for the benefit of those here.

Memory Validator

http://www.softwareverify.com/index.html

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!