Click here to Skip to main content
15,891,409 members
Articles / General Programming / Debugging

Fast and easy memory leak detection

Rate me:
Please Sign up or sign in to vote.
4.44/5 (8 votes)
27 Jul 2011CPOL 36.7K   11  
An easy way to trap all the memory leaks of your application.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
26 Jan 2012Lakamraju Raghuram
For Visual Studio IDE we can detect leaks by using CRT debugger functions#define _CRTDBG_MAP_ALLOC#include #include void main(){ // ...... // ...... _CrtDumpMemoryLeaks();}This will dump leaks if any to the Output window. Check this link :...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
France France
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions