re xerces, we'd also need to exclude it from the JTS dependency: [INFO] | +- com.vividsolutions:jts:jar:1.12:compile [INFO] | | \- xerces:xercesImpl:jar:2.7.1:compile (version managed from 2.4.0)
I'm in favor of reducing the number of embedded databases, but taking bdb je off might be good enough for the time being. The effort of writing a new epsg factory might not worth the benefit if only looking to reducing the permgen stress. I _think_ heavy use of dynamic proxies and bytecode instrumentation (although it doesn't look like we have cglib in the classpath) makes for more classes loaded than a small lib like hsql. Yet a worthy goal for general consistency perhaps. On the other hand, the JVM permgen space is going to be removed[1] in upcoming updates of the oracle jvm as they integrate more JRockIt code, and it is already removed on OpenJDK[1] So +1 on removing unnecessary/overlapping dependencies, but not so sure permgen is _the_ motivation to do that. [1] <http://javaeesupportpatterns.blogspot.com.ar/2011/10/java-7-features-permgen-removal.html> [2] <http://dhruba.name/2012/09/03/hotspot-permgen-removal-commit-made/> On Thu, Oct 25, 2012 at 6:58 AM, Andrea Aime <andrea.a...@geo-solutions.it> wrote: > On Thu, Oct 25, 2012 at 12:39 AM, Jody Garnett <jody.garn...@gmail.com> wrote: >> So what do we have let for embedded database solution? hsql for gt-epsg-hsql >> ... > > Right, at the moment we have hsql in geotools for the EPSG database, and > Berkely DB + H2 in GeoServer for other purposes > > Berkely DB can be removed on trunk using H2 instead, which is also used > by superoverlays. > I did try to make a H2 based EPSG factory but that did not go so well, > and the hsql we are using is way outdated too (version 2.2 is out) > > Not sure what to do about it... maybe retry to do a epsg-h2? > However one thing I'm sure about, I don't have the bandwidth to maintain > two epsg factories, so I we ever went for epsg-h2 I'd have to drop > support for epsg-hsql right away > > The other issue we have is that we're using a way old version of H2, > but to upgrade it we'd have to upgrade it everywhere, in geotools, > geoserver and geowebcache... > > Cheers > Andrea > > > -- > == > Our support, Your Success! Visit http://opensdi.geo-solutions.it for > more information. > == > > Ing. Andrea Aime > @geowolf > Technical Lead > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > mob: +39 339 8844549 > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > ------------------------------------------------------- > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > GeoTools-Devel mailing list > GeoTools-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel -- Gabriel Roldan OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel