Hi.

> I'm with Dave. I've been fighting with this for weeks now. Unfortunately,
> even when I've run the destroyAll() mentioned here and explicitly call IE's
> CollectGarbage() function, memory size seems unaffected and continually
> growing. IE seems perfectly willing to completely ignore hints or even
> explicitly telling it to take out the trash. After a few iterations through
> my app, IE's memory size gets up to about 900 Meg, and pagefile up to 1.5
> Gig, at which time it just stops responding. In Firefox, it just works, of
> course.

We have a similar problem. We found out it's not just calling the garbage 
collector or the destructor method on objects that needs to be done. IE looses 
memory when some bindings stand in spite of an object being no longer needed. 
For instance, adding an event listener to an object is likely to prevent if 
from being garbage collected, even if both the event generating object and the 
event processing objects are no longer needed and not referred from anywhere 
else.

As long as you deallocate all objects and remove listeners the same way you 
have done when you built and wired your objects, memory losses seem to stay 
low. We had a similar problem - mem usage was gowing up with several thousands 
of objects upon each refill of a table, even if using just a few dozen rows, 
since we had listeners for cell clicks added repeatedly. As soon as we fixed 
this, only a few (less than 10, it seems) object remain uncollected after each 
refill (I wasn't the one doing the tests, so please take what I just said with 
a grain of salt).

br,

flj


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to