Sorry to disturb you with 0.7.x stuff, but as I wrote, also 0.7.3 (and 
0.7.x_branch) has a huge memory leak (measured in IE 7).
 
After some investigation, I realized that after disposal widgets still are 
referenced by their parent-widget (though invisble then) in the 
_children-array.
Thats why they are not freed at all.

Just calling setParent(null) in the destructor of Widget solves this.

Together with done fixes (after 0.7.3) in qx.util.manager.Value and the 
qx.util.manager.MConnectedObject-mixin for the 
Widget-class this almost solves all memory problems with 0.7.3x: 
 
As a comparison: 
 
--- 0.7.3  ---
5000 Labels created/added/disconnected/disposed: leaks 150MB
 
note: without explicit disconnect, Labels don't vanish.
--------------
 
--- 0.7.x , patched destructor with setParent(null) ---
30.000 Labels created/added/disposed: leaks approx. 10MB
 
note: memory consumptions has a high deviation over time, it's not so easy 
to measure.
---------
 
 
As the other fixes after 0.7.3 are important too to solve the whole 
situation is there any plan as when to label 0.7.4 ?



-------------------------------------------------------------------------
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