Hi benson, You would have to set MAVEN_OPTS=-Xmx256m to get the java compiler to compile that many source files. I don't know if this is documented but it needs to be...
- Balaji -----Original Message----- From: Benson Margulies [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 8:50 AM To: [email protected] Subject: Java out of memory building 2.0 from source with maven?! This belongs on the devo list, I guess, but I'm really just a user running a build to get the rest of the javadoc. Any hints on how to get around this? I have the current 1.5 JDK. [INFO] Compiling 1313 source files to C:\x\s\apache-cxf-2.0-incubator-src\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 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
