Hello, I'm making a simulation of an Image catalog by using a listener that
adds and removes layers whenever the map bounds change. It works fine, but
the trouble is that removing layers does not release memory resources.
Removing the resources from the catalog didn't help either. Calling the
garbage collector (System.gc() and Runtime.getRuntime().gc()) also didn't
help. Since I'm importing TIFF images the memory gets filled up very
quickly.  Is there a way I can remove a layer (a tiff image) and release the
memory it's been holding? Thanks

Damjan Šavko
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to