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 <[EMAIL PROTECTED]>
19/10/2004 09:58 AM
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
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