Try doing set MAVEN_OPTS=-Xmx1024m before doing the build. I used to get that out of memory problem when building trunk unless i set that environment variable, building the 1.1 branch seems to be working ok for me right now without that though.
...at On Jan 14, 2008 2:11 PM, Simon Nash <[EMAIL PROTECTED]> wrote: > Whenever I try to do a top-level build, I always get an OutOfMemoryError > part way through building the samples. Does anyone else see this? Can I > increase my memory to avoid this annoying problem? I'm using Sun JDK 5. > > Here's the build log: > > > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Building Apache Tuscany SCA HelloWorld Web Service Reference JMS > Sample > [INFO] task-segment: [install] > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 3 source files to H:\tuscany11a\sca- > java-1.1\samples\helloworld > -ws-reference-jms\target\classes > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] Compiling 1 source file to H:\tuscany11a\sca- > java-1.1\samples\helloworld- > ws-reference-jms\target\test-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 > > > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 14 minutes 32 seconds > [INFO] Finished at: Mon Jan 14 13:56:54 GMT 2008 > [INFO] Final Memory: 63M/63M > [INFO] > ------------------------------------------------------------------------ > > > Simon > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
