views:

3016

answers:

5

What memory leak detection tools are available for use with open source C/C++ on Windows?

A: 

WinDbg is always a good choice for any program open or closed.

Nick Berardi
A: 

DebugDiags

Tal
A: 

LeakDiag. Quite hard to find nowadays, but available here. You might also like to get LDGrapher, available in the same place.

Martin
+5  A: 

I've been using VLD (Visual Leak Detector) for some times, it works nicely for good code, for more complex code; it's not perfect.

Max
Newer version at author's home page: http://dmoulding.googlepages.com/vld
Chris Morley
From the documentation: It is designed specifically for use with Visual C++, and it depends on heap debugging functions found only in Microsoft's C runtime library.
Rob Kam
+2  A: 

The mem package is an effective and straightforward tool to detect memory buffer overflows, underflows, leaks, double-deletion, and dangling references.

Walter Bright