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:[email protected]] On Behalf 
Of Dharmendra Chauhan
Sent: Tuesday, May 26, 2009 1:07 PM
To: [email protected]
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

Reply via email to