Qt 6.11 is out! See what's new in the release
blog
Android - Detecting memory leaks
-
Hi,
I have an Android application developed under QT 5.12 that suffers from a possible memory leak. What are my options in terms of analysis?
Memcheck (as described in https://doc.qt.io/qtcreator/creator-analyzer.html) does not seem to work on Android (I'm experiencing behaviour described in this bug report https://bugreports.qt.io/browse/QTCREATORBUG-19052).
Thanks
-
I would suggest trying tools recommended by Android:
https://developer.android.com/ndk/guides/memory-debug
HWASan works, but it also has some limitations ( Only for 64 bit apps, for example)