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. Clear ListView cachebuffer/memory managment
Forum Update on Monday, May 27th 2025

Clear ListView cachebuffer/memory managment

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 199 Views
  • 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.
  • J Offline
    J Offline
    Jim Gir
    wrote on 5 Sept 2020, 11:15 last edited by
    #1

    Hi,
    In my app I have central ListView.
    As a matter of performance, cacheBuffer increases with contentItemChildrenRect.height. so it make use of RAM increasing when loading many children.
    But it never decreases, when contentItemChildrenRect.height decreases.
    So when listview loads a smaller dataset after a big one, RAM usage is never decreasing and stay high.
    Maybe it's bug, I don't know.

    It's a problem since 99% of the time in my app, childrenRect.height will be low with low RAM usage but if only one time childrenRect.height is big, then the app will keep high memory usage until it closes.

    Thanks for help

    Jimmy

    1 Reply Last reply
    0

    1/1

    5 Sept 2020, 11:15

    • Login

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