Memory leak hunting tools

Started by
8 comments, last by Mystagogue 21 years, 10 months ago
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?
Advertisement
Boundschecker is the only one ive used and that is pretty good
Just my thoughts take them as you will. "People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
look at _CrtDumpMemoryLeaks() in MSDN. Also other functions in the <crtdbg.h> file. These come with MSDN and are useful (to a point).
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.
<a href="http://www.purplenose.com>purplenose.com
And talking about overloading new/delete... I found this new overloading tutorial useful.
"after many years of singularity, i'm still searching on the event horizon"
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.
Rational Purify
Arguing on the internet is like running in the Special Olympics: Even if you win, you're still retarded.[How To Ask Questions|STL Programmer's Guide|Bjarne FAQ|C++ FAQ Lite|C++ Reference|MSDN]
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 ]
Hmm, I notice the double post in flipcode too.

Anyway, for the benefit of those here.

Memory Validator

http://www.softwareverify.com/index.html
Does anyone know of a leak detector that will detect memory leaks in video memrory (i''m using Direct3D)?

- Thomas Cowellwebsite | journal | engine video

This topic is closed to new replies.

Advertisement