Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. No memory release on ListView

No memory release on ListView

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 793 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.
  • A Offline
    A Offline
    aabc
    wrote on last edited by
    #1

    When loading and unloading Qml pages with ListView element - I see that memory usage is growing (no memory release).
    Did anyone encountered this phenomenon?

    1 Reply Last reply
    0
    • U Offline
      U Offline
      ustulation
      wrote on last edited by
      #2

      try running QJSEngine::collectGarbage() periodically to see if it makes a difference. For eg., test it with timer set to 3 sec or something. If this works then we can think from there.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        aabc
        wrote on last edited by
        #3

        Thanks ustulation.
        I tryied running QJSEngine::collectGarbage() and it didn't release memory.
        Any ideas ?

        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