Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android - Detecting memory leaks
Qt 6.11 is out! See what's new in the release blog

Android - Detecting memory leaks

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
androidmemory analyzervalgrindqt5.12memory leak
2 Posts 2 Posters 677 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    Uniquename
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    1
    • Q Offline
      Q Offline
      QtLate
      wrote last edited by
      #2

      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)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved