Build OOM's on Java 6
---------------------
Key: GEOT-2462
URL: http://jira.codehaus.org/browse/GEOT-2462
Project: GeoTools
Issue Type: Bug
Affects Versions: 2.5.4
Reporter: Andrea Aime
Fix For: 2.5.5
The build on Java 6u13 on Linux (with the server jvm enabled by default)
repeatedly fails with OOM in the compiler.
I don't know exactly why this is not happening with java 5, but regardless,
it's not difficult to imagine what's putting pressure on the JVM: the javac
compiler is used embedded in the maven JVM, each module in GeoTools has a rich
set of dependencies, classloading continues to push new classes in the
permanent generation that are never garbage collected (the only collector that
can garbage collect classes is the CMS one, and even in that case, the class gc
has to be activated explicitly).
Forcing Maven to run javac in a separate process, started for each module,
relieves this pressure and allows the buld to complete successfully. It also
seems faster, probably due to the GC pressure in the permanent generation even
in java5.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel