Re: [flexcoders] Re: DataGrid not releasing memory on removeAll()

2009-06-08 Thread Adrian Williams
Hi there, We had a similar problem albeit with the AdvancedDataGrid...it wouldn't release the custom renderers even after we told it to...in the end, we had to write a custom script that would track our renderers and when we wanted to GC things, we had to call the script to release the

[flexcoders] Re: DataGrid not releasing memory on removeAll()

2009-06-08 Thread Dharmendra Chauhan
Hi Adrian Williams Thanks for the reply. I have tried your trick but I could not get it working as expected. Here is the code which I tried in my custom dataGrid:_ arrayCollection.revmoveAll(); for(var key:String in freeItemRenderersTable){ delete freeItemRenderersTable[key];

[flexcoders] Re: DataGrid not releasing memory on removeAll()

2009-06-07 Thread dang_art
Have you tried to force the garbage collection process? flash.System.gc() Art --- In flexcoders@yahoogroups.com, Dharmendra Chauhan chauhan_i...@... wrote: Hi All, My DataGrid based application running into a Memory issue.The issue is dataGrid does not release the memory even after

[flexcoders] Re: DataGrid not releasing memory on removeAll()

2009-06-07 Thread Dharmendra Chauhan
Hi All, Thanks for the response. 1) I agree with the fact - that memory is not necessarily released just after you remove the items from datagrid. Now my question is how long I have to wait for GC to run and If they are eligible for GC then memory should be coming down after I issue