Check this out for additional info on FP8 garbage collection (GC) system.
http://www.kaourantin.net/2005/09/garbage-collection-in-flash-player-8.html

> Message: 1
> Date: Wed, 28 Sep 2005 09:47:48 +1200
> From: Nick Griffiths <[EMAIL PROTECTED]>
> Subject: Re: [osflash] Monitoring Flash memory usage
> To: Open Source Flash Mailing List <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 
> I've been developing a desktop app with flash player 7 that relies on 
> XML for remote method invocation, and I noticed that it was extremely 
> demanding on memory.  To track usage I just used Task Manager with 
> memory usage and VM usage turned on.  A typical method call that 
> returned a bunch of products would use about 2-3mb once the XML had been 
> turned into client side objects.  Even worse, the player would never 
> free the memory used by the XML object.  I think you have to be very 
> careful with scope chains which can cause objects to hang around in the 
> VM a lot longer that you would guess.  If you search this list you'll 
> find some posts where it was talked about.  Try googling it - some one 
> wrote a very good article on how scope chains work, and how they can 
> cause objects to not be garbage collected.
 
> Flash Player 8 is incredibly more efficient with memory, and even solved 
> the memory leak I had (It looked like something to do with XML not 
> belonging to the stage - never could pin it down)  Obviously, that is 
> not much use to you. 
 


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to