Donotalo
Donotalo

Reputation: 13025

Any free memory leak detector for Qt?

I'm looking for free memory leak detector for Qt. I use Qt Creator 1.3 with Qt version 4.6 (32 bit). The platform is Windows 7 Ultimate.

Thanks.

Upvotes: 2

Views: 5001

Answers (3)

Lucas Jones
Lucas Jones

Reputation: 20173

I'm not sure about Qt in particular, but I use Valgrind for memory-leak tracking.

EDIT: Valgrind doesn't work on Windows, so this doesn't actually answer the question.

Upvotes: 0

Gareth Stockwell
Gareth Stockwell

Reputation: 3122

Although this question is not Qt-specific, the answers do refer to various general-purpose memory leak detection tools which are available on Windows. The two which are mentioned in the accepted answer are commercial tools, but there are some free alternatives referred to in other answers.

Upvotes: 2

Sam
Sam

Reputation: 694

I have used Valgrind on a major graphical Qt product. Like any software tool it takes serious effort to learn how to use it and configure it efficiently. I am still a newbie at using it really but I find it very useful and beneficial to find memory issues. It can slow the debugged program to a very noticeable extent. I still recommend it though.

The lack of a memory debugging mechanism in Qt is a somewhat surprising omission for a commercial C++ framework.

Upvotes: -1

Related Questions