Advice on checking for memory leaks and dangling resources?
-
-
-
You can use Bounds Checker, which is not faster, but different :-)
You can spend really much money and use AppSite, which would be shooting on birds with a cannon
Some people state, AQTime could be used for that (I only used that for performance profiling up to now).
If you search the web, most people state, all memory profilers for windows are too slow or too expensive (like AppSite which has a different scope, and cost something like my house :-) )I know no freeware checker like valgrind :-(
-
Some years ago I have used this tool http://www.codeproject.com/KB/applications/visualleakdetector.aspx
I do not know about modern versions of Visual Studio support, but it is free and open source.
-
Hi,
if I understood correctly, visualleakdetector is a replacement of the MSVS internal leak detection (CRT debug functions) which must be added programatically. It only works in debug mode. and it can be compiled for new MSVS versions by using the source code. could work but only in the same way as the MSVS build in detection with just a bit more information...
-
[quote author="Gerolf Reinwardt" date="1290626948"]could work but only in the same way as the MSVS build in detection with just a bit more information...[/quote]
Sorry, I do not know it internals. When I use it then in the debug output on program exit I get the human readable list of leaks with information where leak is created. It was enough for me at that time.
-
AQTime can detect memory leaks, but it's mainly for profiling.
Intel Parallel Inspector (is also part of the Intel Parallel Studio) is another option.
Both are commerical, but you can always get a trial version. -
This post is deleted!