PDA

View Full Version : memory leaks detection tool



ahmdsd_ostora
28th June 2010, 13:20
I want a utility for detecting and locating memory leaks for my Qt application

Ginsengelf
28th June 2010, 14:41
Hi, if you're using Visual Studio, here (http://sites.google.com/site/dmoulding/vld) is a simple leak detector that is easy to use.

Ginsengelf

ahmdsd_ostora
28th June 2010, 16:30
thank u, but i use Qt creator
any tools for Qt creator ?

ChrisW67
28th June 2010, 23:42
If you are on Linux then valgrind is the obvious choice but there are plenty of other options of varying complexity levels.

For Windows mpatrol (http://mpatrol.sourceforge.net/) or leakage (http://wyw.dcweb.cn/leakage.htm) or google-perftools (http://code.google.com/p/google-perftools/) might be worth a look.

ahmdsd_ostora
29th June 2010, 13:12
Thank u, I found the simplest is Leakage, but i have some difficulties using it
i downloaded the files, then added them to my project in Qt creator, then run it normally from the creator window
the application ran normally, but it crashes when i close a window of when memory alloc happens
any help with using the leakage (debug_new) method ?