Clear ListView cachebuffer/memory managment
Unsolved
QML and Qt Quick
-
wrote on 5 Sept 2020, 11:15 last edited by
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/1