Click to See Complete Forum and Search --> : C++ Memory Leak Detector?


MrDoomMaster
June 21st, 2009, 08:44 PM
Hi everyone,

I'm looking for a decent FREE solution to checking for memory leaks in my C++ application. I know about Boundschecker, PurifyPlus, and GlowCode, however all of these cost money and are not an option for me.

I would prefer a non-intrusive solution. That is, I would like to avoid changing code to add support for memory leak checking. However, if that is the only free solution then I will do it.

If I must go with the intrusive approach, I have a few requirements:
* The memory leak checker must support 64-bit applications
* It must support unicode.
* It must be as transparent as possible (i.e. the less work to set it up, the better).

I prefer it to be simple, and recent. But these are not hard requirements. I know of Visual Leak Detector, however this project is several years old and out of date. I'm also sure it does not support 64-bit.

Anyone have any suggestions? You know, I'm quite surprised that for such a demanding/common problem (checking for memory leaks), there aren't more options available.

Thanks in advance.

MrViggy
June 22nd, 2009, 12:51 PM
Well, there is Valgrind for Linux. However, it sounds like you're on a Windows only platform.

Viggy

MrDoomMaster
June 22nd, 2009, 01:13 PM
Well, there is Valgrind for Linux. However, it sounds like you're on a Windows only platform.

Viggy

That's right. I'm on Windows. Sorry for not mentioning this.

GGJohn
July 1st, 2009, 01:37 PM
Recently I've got such in a case problem. Friend advised me deleaker. Works perfectly. Try it too.
http://deleaker.com

MrDoomMaster
July 1st, 2009, 03:37 PM
Recently I've got such in a case problem. Friend advised me deleaker. Works perfectly. Try it too.
http://deleaker.com

Except this isn't free...

GGJohn
July 3rd, 2009, 08:27 AM
Maybe not free, but in 1000 times better than free. It has a heap of useful functions.

memeloo
July 3rd, 2009, 11:15 AM
what about MFC's CMemoryState?
http://msdn.microsoft.com/en-us/library/0wzsd007(VS.80).aspx

StarDrago
November 21st, 2011, 12:42 PM
As for me, I also advise deleaker. It is best to buy and have no problems. I dont think what you can get quality program by free now