I am trying to optimise an application that appears to have a memory leak. The problem is that AdvancedDataGridItemRenderer and AdvancedDataGridGroupItemRenderer classes have a property called data which is holding onto a reference to a VO I have created. I think I need to set the data property to null, but don't know how to access it as I don't implement either of those classes in my application, I am assuming they get implemented by the AdvancedDataGrid at some point?
Any thoughts on how I can clear out those references to make the VO(s) available for GC would be most welcome.
I have resolved this, not by removing all the references to the VO but by removing all the children instead. The children had no references attached and were the ones hogging all the memory, not the parent.