The MAVEN_OPTS=-Xmx512M would probably do it. However, you might also want to try a newer JDK. I haven't had an issue with 1.5.0_11, but I'm also on Linux.
We probably could fork the compile in testutils. It's quite large so it may be a good idea. I think we had a problem with the forked javac on one of the platforms (OSX?), but that was a long time ago. We'd have to test it a bit first. Dan On Friday 02 March 2007 06:46, O'Callaghan, Sean wrote: > Hi, > > Since upgrading to Maven 2.0.5, CXF fails to compile a clean build. > It runs out of memory when compiling the testutils classes. > Is there any flag/switch I can set in Maven config to workaround this? > This is on windows using jdk1.5.0_06 > > Thanks, > > Seán. > > Compiling 1197 source files to C:\CXF\trunk\testutils\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: Java heap space -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog
