well there is many ways that you can follow while wiring code that will avoid memory leakage problem,, make sure that your object's in the dataprovider do not have reference of view or any objects that are persistent to your system.. use weak reference event listener "addEventListenet(Mouselick.click,handler,false,0,true);"
On Tue, Feb 9, 2010 at 5:00 PM, raj <mrspra...@gmail.com> wrote: > Hi friends, > > I need to change the dataprovider frequently. > We are using array collection as dataprovider. > each object in array collection is having nearly 150 properties. > Whenever I change the dataprovider, the old objects are not not being > garbage collected. > Memory is keep on increasing. Please help me on the same. > > Raj > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to flex_in...@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.