Ben Caradoc-Davies ha scritto: > I have been encountering heap size problems running unit tests on a > 64-bit JVM (yes, gt-app-schema). I might have expected a 64-bit JVM to > consume twice the heap of a 32-bit JVM at worst (some suggest 40% to 60% > more is typical), but now I have unit tests that pass with 512M heap on > 32-bit and run out of memory with 1024M on 64-bit. Something is wrong. I > expect that there will be gc differences (server versus client), but > this behaviour was unexpected. > > Has anyone else run into problems with memory leaks or other such > problems on 64-bit JDK? app-schema does a lot of XML/XSD processing, > could this be implicated?
I don't have infos about the JDK per se, but reading through the release notes of Galileo I remember seeing a report of optimizations in the EMF memory consumption. E.g., from this presentation: http://www.eclipse.org/project-slides/Galileo/EMF_Core_Galileo_Review.pdf see page 3: Minimal footprint EObject implementation * New, optimally memory-efficient base EObject implementation available for use in generated models * Adopted in Ecore to reduce footprint of metadata Given we use EMF bindings this _might_ be relevant Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
