I just filed a bug about memory usage with datacomboboxes...

http://www.openlaszlo.org/jira/browse/LPP-2719

I also included a test app.

While exercising the test app, I think I uncovered another bug and I  
wanted to get some input.

Looking at the source for basedatacombobox, it appears that when the  
control loses focus, the pop-up list is deleted to recover memory.   
However, if the combobox is manipulated programmatically, as in my  
sample app, the popup lists are never destroyed.

So to demonstrate the problem, run the app, click the button and wait  
for every combo to select.  Notice that the memory usage goes *way* up  
as I noted in the bug report.  Then choose an item from the first  
combo, then hit tab to shift focus to the next combo.  There's a  
*HUGE* CPU usage spike when you hit tab.  This, I assume, is the list  
(or lists?) being destroyed.

We absolutely have to get some of these combo performance/memory usage  
issues fixed if we are going to ever be able to come close to the  
functionality of a desktop app in OpenLaszlo.


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to