Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Clear ListView cachebuffer/memory managment
Jim Gir last edited by
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