We have Spark dataGrid which Contains many ItemRenderers. we load more than 200 rows every time. This causes memory leak in our app. So Is there any way to free the ItemRenderers?
Problem is almost similar to THIS while profiling
the instances keep going up and up, I'm using an arrayCollection as the dataprovider. I even call the dataprovider (arrayCollection) .removeAll() and the display goes blank, yet the number of instances of the itemRenderer does not go down. I then run the garbage collector in the profiler, and the item renderers still stay in memory. How can I remove the itemRenderers from memory?