views:

356

answers:

5

Any suggestions? This SO post talks about Visual Leak Detector, but I'm looking for other tools. Also, please don't recommend this.

A: 

Asked a similar question not long ago but related to 2010 specifically: http://stackoverflow.com/questions/2648122/vs2010-profiler-leak-detection

If you're not using 2010 you might consider AQtime. It's not too terrible most the time. There are times thought when it fails to find an object related to the leak and just says "crt memory" or whatever.

Another I recently tried is called "Memory Validator". Not exactly a nice interface but it does seem to work, and work with 2010 too (just doesn't have any other kind of profiling in it, which is something I expect in a commercial tool like that).

Maybe GlowCode as was mentioned in other, similar questions, on SO when I searched before asking.

Noah Roberts
It looks like you didn't receive many answers. I'll check out AQtime .. right now I'm using VLD which is similar to the default VS tool but more verbose.
Jacob
I'm simply using a compiler that's too new. Hardly anyone has anything compatible with it out yet.
Noah Roberts
A: 

Try Deleaker or DevPartner, these both are good enough.

Eugene
+1  A: 

I've used Visual Leak Detector quite recently and it works pretty well. It's very simple to build it in (just include vld.h) and doesn't require any instrumentation. I found that I needed to write a couple of scripts though to parse the output into something more useful for my purposes (it is crying out for a decent GUI). Note the new website -- the project is being actively maintained on Codeplex -- the Codeproject link is very old.

the_mandrill
A: 

There is also application verifier. It can track a whole bunch of other issues as well apart from leaks like places where you forget to free win32 objects such as handles etc ...

The MSDN link is: http://msdn.microsoft.com/en-us/library/ms220948(VS.80).aspx

obelix
A: 

As suggested by Noah Roberts, i too felt Memory validator as the best tool for detecting leaks in Visual studio.

Purify also works.

bjskishore123