Well you have to track the backreferences to the collection to find out who is keeping it around. There a tutorial on how I use the profiler on my blog. Unfortunately it is a lot of painful detective work.
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: [email protected] [mailto:[email protected]] On Behalf Of Dharmendra Chauhan Sent: Wednesday, May 27, 2009 12:32 PM To: [email protected] Subject: [flexcoders] Re: How to release Memory consumed by DataService Hi Alex Thanks for the reply. I profiled the app ,I can see arrayCollection in loitering object. I am wondering even aftter calling appropriate methods why arrayCollection has not been destroyed.I also dont have any listerner attached to the ArrayCollection. Regards, Dharmendra --- In [email protected]<mailto:flexcoders%40yahoogroups.com>, Alex Harui <aha...@...> wrote: > > If you have data returned from the service hanging around, then those things > are probably hanging around too. Use the profiler to figure out who's holding > on to things. > > Alex Harui > Flex SDK Developer > Adobe Systems Inc.<http://www.adobe.com/> > Blog: http://blogs.adobe.com/aharui > > From: [email protected]<mailto:flexcoders%40yahoogroups.com> > [mailto:[email protected]<mailto:flexcoders%40yahoogroups.com>] On > Behalf Of Dharmendra Chauhan > Sent: Tuesday, May 26, 2009 1:07 PM > To: [email protected]<mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] How release Memory consumed by DataService > > > > > > Hello All, > dataService.release(); > dataService.dissconnect() > dataService.logout(); > > I am using above set of codes to release resources consumed by Data Service. > but I was surprised to see that even after running above code memory > consumption is not coming down. > > During profiling I found lot of loitering obeject named > ManagedObject, ProxyObject , AsynchToken etc .. > > I belive they are all created by DataService , i am wondering why they are > not gettig destroyed when dataService itself is disconnected. > > Please suggest me the ways to release all resources consumend by DataService > > I m using LCDS 2.6 with RTMP channel. > > Regards, > Dharmendra >

