[Lazarus] testing virtual TListView in gtk2

Andrew Haines AndrewD207 at aol.com
Thu Dec 3 21:17:22 CET 2009


Seth Grover wrote:
>> Okay In r22945 I have implemented a custom treemodel for the gtk2
>> listview. This should fix your memory problem.
>>
>> Regards,
>>
>> Andrew
>>
> 
> I tried your update. Yes, the memory usage is somewhat better now
> (before it was something like 100MB with 1 million items in the list,
> now it's around 47MB).
> 
> However, when I fire up my program the CPU usage goes to 100% for
> several minutes before it comes back down to idle.
> 
> Also, when I click on an item in the list I get an access violation:
> 
>   $0828D52C  GTK2WSLV_ITEMSELECTED,  line 222 of gtk2wscustomlistview.inc
> 
> -SG
> 

Should be fixed now in r22947

Btw I set the count to 1000000 and it loaded almost instantly, so no
huge delay at startup.

Regards,

Andrew.




More information about the Lazarus mailing list