Garbage Collection Strategy for an Array of Data Objects
Submitted by afoutsjr on Fri, 06/20/2008 - 06:00.
So I create an array and then create several data objects with various properties . . . adding each data object to the array. (see page 125)
I am looking for a good strategy to remove the data objects from the array and make them available for garbage collection.
I will be reusing the array to add further data objects.
Any thoughts? I have tried several different strategies within a current project without success . . . getting a major memory overload.
Tony
Copyright Gary Rosenzweig
