Hi,

My application displays tables based on database information. Columns count
and style varies. It creates table and old references to previous tables are
removed.

However I notice growing amount of objects below - each time table is
re-rendered FireFox allocates couple more megabytes and counts below are
growing:

352: qx.ui.layout.impl.HorizontalBoxLayoutImpl 
266: qx.ui.basic.Label 
242: qx.ui.basic.Atom 
242: qx.ui.table.columnmodel.resizebehavior.ColumnData 
109: qx.ui.layout.impl.CanvasLayoutImpl

-- in the code I have for example custom resizeable column model:
                var custom =
                {
                        tableColumnModel :
                                function(obj)
                                {
                                        return new 
qx.ui.table.columnmodel.Resize(obj);
                                }
                        };

What is the correct way to dispose known object "table" ? I keep table
reference in this.table and replace it with newly generated object.

Calling this.table.dispose() freezes FireFox for tens of seconds and not
useful.

What is the right way to dispose tables? 

Thank you
-- 
View this message in context: 
http://www.nabble.com/tracking-down-memory-leaks-in-tables-tp19505261p19505261.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to