[Qt-qml] Valgrind and QML applications
mikko.kiilholma at nokia.com
mikko.kiilholma at nokia.com
Fri Jan 7 07:27:55 CET 2011
Hi,
I used to use Valgrind with Qt applications succesfully to detect leaks. The "definitely lost" marked ones in the output appeared to be real ones.
I wonder if the situation is the same with QML applications. I mean that can I trust that the leaks that the tool claims to be leaks for sure are real?
Is the memory handling in QML making any difference?
I am asking this because the tool finds so many leaks in many applications and they are not the kind of leaks that occurs only once in a lifetime of application.
I am using Valgrind 3.5.0 with Qt4.7.1.
For example in struct SimpleList in qdeclarativeengine_p.h there is an array allocated but it is not always deleted and running a repetitive case seems to increase the leak count.
- Mikko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110107/a95a758f/attachment.html
More information about the Qt-qml
mailing list