I don’t like anonymous functions, nested functions or whatever you want to call
function instances. Everything on the callstack is referenced by the
scope-chain/activation object until the function instance can be GC’d. Once
you call removeEventLIstener, then the scope-chain goes away, but
Could you be registering anonymous functions as event listeners and other
callbacks?
On 8/30/10 12:52 PM, lew.miller lew.mil...@gmail.com wrote:
Thanks Alex. I don't have any simple test case indicating that they leak, I'm
just struggling to understand what is causing certain leaks in a
Any time you load a module, its SWF gets uncompressed, parsed and then executed
until the code runs that notifies the moduleloader that it is ready. SWF
parsing is not nearly as efficient as EXE processing, but of course, not nearly
as fast as just creating a new instance of the main class in
I don't know what books and other materials are out there. Note that
there are filters that don't show certain classes. Maybe they are
hiding the true leak
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cavi21
Sent: Tuesday, June 03,
that.
--
*From:* Gordon Smith
*Sent:* Wednesday, August 29, 2007 12:37 PM
*To:* flexcoders@yahoogroups.com
*Cc:* Alex Harui
*Subject:* RE: [flexcoders] Re: Memory leaks
Here are the results I get when I start by doing Force GC and Capture
Memory and then repeatedly do Add
Here are the results I get when I start by doing Force GC and Capture Memory
and then repeatedly do Add Childs, Rem Childs, Force GC, Capture Memory:
4943872
6393856
6664192
6627328
6770688
6803456
6815744
6815744
6815744
6823936
6815744
There is no memory leak because continuing to add and
Smith
Sent: Wednesday, August 29, 2007 12:37 PM
To: flexcoders@yahoogroups.com
Cc: Alex Harui
Subject: RE: [flexcoders] Re: Memory leaks
Here are the results I get when I start by doing Force GC and Capture Memory
and then repeatedly do Add Childs, Rem Childs, Force GC, Capture Memory
7 matches
Mail list logo