PDA

View Full Version : Memory Leak Detection Tool



navi1084
4th November 2008, 09:08
Hi,
I am using Visual Studio 2008 to develop my QT application. I need to check memory leaks in my application. Can anyone tell me which tool i can use to detect memory leaks in my application. My application contains only Qt classes.


Thank you

Ginsengelf
4th November 2008, 09:51
Hi, you could use Visual Leak Detector (http://dmoulding.googlepages.com/vld). It's small, easy to use and LGPL.

Ginsengelf

navi1084
4th November 2008, 11:02
Thank you. Can I use bounds checker for the same.

pastor
4th November 2008, 11:52
I used Compuware Bounds Checker with MSVS 2005. It's very nice tool.

2 Ginsengelf: Did you use Visual Leak Detector with Qt library? Is it really useful? Is it recognize "delete later" feature and implicit deleting of objects (f.e. deleting all parent's child objects).

Ginsengelf
4th November 2008, 15:44
2 Ginsengelf: Did you use Visual Leak Detector with Qt library? Is it really useful? Is it recognize "delete later" feature and implicit deleting of objects (f.e. deleting all parent's child objects).

If I remember correctly, I used it only for debugging standard c++ code, so I can't say if it will detect deleteLater() or other Qt specific functions.
Maybe I'll try and report back.

Ginsengelf