What memory leak detection tools are available for use with open source C/C++ on Windows?
Asked
Active
Viewed 9,430 times
9
-
I use deleaker - power tool. But it's proprietary) – John Smith Apr 02 '12 at 20:04
-
2This question is very specific. It asks about something not easy to find. It's also very useful. It's more about specific knowledge than opinion. I think locking this takes away from value of the site. – Piotr Lopusiewicz Jan 14 '15 at 00:31
4 Answers
7
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.
-
Newer version at author's home page: http://dmoulding.googlepages.com/vld – Chris Morley Nov 13 '08 at 03:49
-
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 Nov 13 '08 at 08:30
-
@RobKam: The source code is readily available for Microsoft's C runtime library. – Ben Voigt Nov 06 '11 at 03:13
5
The mem (revised) package is an effective and straightforward tool to detect memory buffer overflows, underflows, leaks, double-deletion, and dangling references.

JoshDM
- 4,939
- 7
- 43
- 72

Walter Bright
- 4,277
- 1
- 23
- 28
-
Snippets.org no longer exists as a host for mem.txt; it is now a deals website. I located a modified copy of Mem here for now : http://teaching.idallen.com/c_programming/mem/ – JoshDM Oct 24 '11 at 18:48