I thought Mike Chambers had an app that did this?  anyone know Mike's blog/link to that app?

On 9/27/05, Nick Griffiths < [EMAIL PROTECTED]> wrote:
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.

Start using LoadVars perhaps ? :)

Tan wrote:

> Hi,
>
> I just wonder if anyone has come across the experience of tracking
> Flash's memory usage.  I recently started working with a lot of XML
> data for Pocket PC device, Flash ran well on the desktop, but it kept
> quitting Pocket PC miserably.  I think some of that might have to do
> with the limited memory of the device.
>
> Thanks!
>
> - Tangent
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>osflash mailing list
> [email protected]
>http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>


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



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

Reply via email to