If you try to remove a chart and the profiler shows it is still there,
it is leaking.
 
If you reset its dataprovider several times and the number of renderers
and other objects it creates keeps increasing, there's a leak there.
 
You just have to keep digging through with the profiler to find the root
cause.  Sometimes, building simple test cases help too.

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lytvynyuk
Sent: Friday, March 14, 2008 9:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: WeakMethodClosure - what is this ?



How typically you detect if Charts are leaking? Coz I having troubles 
with that, but definitely something going on.

> The doc says setting length it will work, but I've never tried it.
> 
> If you have WMC's referencing Charts, you need to make sure the 
Charts
> aren't leaking, and that when a chart goes way it takes all or 
most of
> its WMCs with it.



 

Reply via email to