Am 02.08.2006 um 10:10 schrieb Sebastian Werner:

> No that's not the case. qooxdoo's disposer logic works almost perfect.
> There are currently no big memory leaks detectable with qooxdoo.

Good to hear! :-)

>> I also played around with nulling out references:
>>
>> 1.) I created a big object array. This increased memory consumption
>> by roughly 10 MB.
>> 2.) I played around with other elements on the same page. Memory
>> consumption did not change.
>> 3.) I freed the object array. No immediate change in used memory.
>> 4.) I played around some more (still on the same page, no reload).
>> After a while, memory usage decreased by about 10 MB.
>
> Interesting effect. That's, as explained above, new to me. Maybe a
> improvement of recent development in Firefox. Wouldn't it be great IE
> would do the same.

It does! IE has many leaks, but nulling a reference behaves exactly  
like in Firefox: The memory is not freed immediately, but it's freed  
after some other (unrelated) actions on the same page. You can test  
this yourself with the perftest.html page attached to my previous  
mail (use the create and free permanent object buttons).

> There is no design flaw like this. Maybe we missed some object  
> reference
> here and there. But generally it seems to work quite well.

Great!

Regards,

   Andreas


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to