|
Do you only want to keep the last image read and to get rid of the ones that were read earlier?
Would the flush() method on old images get rid of the memory being used?
Sometime garbage collection should retrieve the storage used by the objects if they are no longer referenced.
|