Hi, Simply do removeAllChildren(), in the method where u are creating new() objects, moreover you should go through and find details to learn profiler. I hope it will make ur work quite easy to track down memory-leakages.
Regards Abhinav Mehta ----- Original Message ----- From: "Sachin Patil" <[email protected]> To: "Flex India Community" <[email protected]> Cc: <[email protected]> Sent: Thursday, August 20, 2009 9:19 PM Subject: [flex_india:24650] Destructor method > > Hi All, > > I am facing some serious memory issues. One of the action script > component(used as renderer to datagrid) is not garbage collected, as > the eventListners are not removed when component is removed or > deleted. I want to know how to write a destructor method in Action > Script or a method which gets called when the component/object is > marked as delete. > > Waiting for reply. > > Regards, > Sachin Patil. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

