On Tue, Dec 2, 2008 at 3:33 PM, Dan Becker <[EMAIL PROTECTED]> wrote:
> I am building the sca-java-1.x branch, and I get the following > OutOfMemoryError: > > [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(Unknown Source) > ... > > My Windows XP environment has the following Java and Maven options: > set JAVA_OPTS=-Xmx1024m > set MAVEN_OPTS=-Xmx1024m > > Does anyone have a workaround or other options to get by the problem? > -- > Thanks, Dan Becker > Yep, it's a PermGen problem so you need some extra settings. This works for me on the Sun JDK6 -Xmx1024m -Xms1024m -XX:MaxPermSize=256m I'll update the FAQ. Simon
