Matt Chotin wrote:
> Funny you bring this up, it came up in a separate discussion today.  We
> don't have a "typical" memory usage for a Flex app, it really depends on
> what kind of work your application does. Do you load lots of images?
> Those can take up space.  How many components do you have, do you load
> them in a deferred manner or all at once?  One thing to remember is that
> the Flash Player allocates memory in chunks, and it may not release
> memory until enough has been allocated to force it to GC.  So let's say
> it allocated 40 megs.  If the app happened to get to 33 megs there may
> be no need for the Player to GC.  And it could be that in reality the
> Player could get away with only 20 megs, but it will take that whole 40
> b/c the OS is letting it and it.  Still not technically a memory leak,
> even if you think the task manager should show less.
>  
> Remember to remove children from the display list.  Remember to remove
> event listeners or use weak listeners where appropriate.  
>  

Hmm, can you elaborate? Or is there a specific doc. I can read for some 
enlightenment on these? I don't know what weak listeners are or when I 
would need/want to remove children from the display list.

cheers,
  - shaun

Reply via email to