Hello,

Try adding the -XX:MaxPermSize option to your MAVEN_OPTS.  Something like MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" should work

Hope this helps!

On Fri, Jun 6, 2008 at 5:06 PM, jklcom99 <jeff@intrapos.com> wrote:

I applied the patch to Geronimo source.

I have set MAVEN_OPTS -Xmx1024m but I'm still getting...with mvn build

Is there some other settings I can set to get Geronimo built?

[INFO] Compiling 21 source files to
C:\downloads\apache\geronimo\plugins\openejb
\geronimo-openejb\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
Failure executing javac, but could not parse the error:

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space
       at java.lang.ClassLoader.defineClass1(Native Method)
       at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
       at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)


jklcom99 wrote:
>
> Can someone show me the steps on how to apply GERONIMO-4072.patch?
>

--
View this message in context: http://www.nabble.com/how-to-apply-GERONIMO-4072.patch--tp17683296s134p17701141.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.




--
~Jason Warner