Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] uDig doesn't free memmory

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

Back to the top