I have a flex 2 application where you can open tabs (of canvases) that display and edit managed data using lcds 2.5.1. The retrieved data is somewhat encapsulated to the UI tab so when the tab is closed I want to release the data to minimize the client memory footprint and data management overhead.
The data is retrieved using fill() so to release I use (my DataService).releaseCollection(serviceArray). This synchronous call blocks for a long time and greatly increases the memory footprint. As an example a service array with a length of 127 objects took 48 seconds and actually increased 202,094 bytes just to release. The objects in the service array have several lazy associations; some of which have been accessed; some of which have not (based on paging from my DataGrid). Could there be a circular referencing problem? I am probably doing something obviously wrong but I can't figure it out and would appreciate any advice.

