<div dir="ltr">Hello again,<div><br></div><div style>I think I found the problem. The moment the ListView is not visible anymore it goes on a killing spree and starts creating delegates for around 50% of all items in model.</div>
<div style><br></div><div style>If I put in a workaround like: </div><div style><br></div><div style>model: visible ? modelVar : null</div><div style><br></div><div style>The ListView works. </div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/12/14 Hendrik Borghorst <span dir="ltr"><<a href="mailto:hendrikborghorst@gmail.com" target="_blank">hendrikborghorst@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello folks,<br>
<br>
I've got a problem with long lists (~25000 elements). All delegates are<br>
created at once which causes the memory usage to explode beyond the<br>
devices capability.<br>
<br>
I already tried setting "cacheBuffer: 0" in SiliciaListView but it<br>
doesn't change it.<br>
<br>
Is the something I'm doing wrong.<br>
<br>
You can see the actual page code here:<br>
<br>
<a href="https://github.com/djselbeck/smpc/blob/master/pages/CurrentPlaylistPage.qml" target="_blank">https://github.com/djselbeck/smpc/blob/master/pages/CurrentPlaylistPage.qml</a><br>
<br>
Shouldn't the delegates be constructed on demand? It is weird because my<br>
old n8 wasn't struggling with qml lists with this size.<br>
<br>
greetings and congrats on getting the devices to your customers (I'm<br>
very pleased)<br>
</blockquote></div><br></div>