Simone Giannecchini ha scritto: > Ciao a tutti, > I guess that aaime wants clean up whatever is registered into generic > registries, so jai operations and imageio reader, writers, instreams > and outstreams. I am going to check aaime's patch afterwards. > > Anyway, andrea, (besides suggesting to calm down :) ) I wanted to ask > you what we are looking for, as an instance, unclosed input/output > streams? JAI Threads that are stil running?
Anything that can keep the webapp classloader from being garbage collected really. The patch already tries to stop all threads, unregister all JAI related SPIs, unregister JDBC drivers. However, it seems it's not enough. Still, what I have so far looks like an improvement worth sharing nevertheless. I shall probably try making a dummy application adding more and more Geotools dependencies to it and see when it is that the permgen leak starts happening, GeoServer is probably too big to do an effective analysis. > Aside, it would be also great to provide a context listener that DOES > register ImageIO spis on startup for compatibility with Latest tomcat, > do you agree? Actually I was trying the latest build (6.0.26) and the demo rasters were loading fine without me touching anything. I did not try out MrSid or similar, but I believe the arcgrid readers do depend on having your custom streams as well, right? Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel