geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siss...@insession.com
Subject Re: Build issue on Windows, JDK1.5.0, possibly on 1.4
Date Fri, 22 Oct 2004 06:40:53 GMT
MaxPermGen option wasn't recognised.  I assume you meant:

        SET MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m

http://java.sun.com/docs/hotspot/VMOptions.html

John




Jeremy Boynes <jboynes@gluecode.com> 
19/10/2004 09:58 AM
Please respond to
dev@geronimo.apache.org


To
dev@geronimo.apache.org
cc

Subject
Build issue on Windows, JDK1.5.0, possibly on 1.4






A full build from scratch can fail with an OutOfMemoryError: PermGen on 
some Windows machines possibly due to the number of classes etc loaded 
during the build/test process.

One solution to this is to increase the permanent memory with

SET MAVEN_OPTS=-Xmx512m -XX:MaxPermGen=128m

Incremental builds work OK.
--
Jeremy



Mime
View raw message