L.S., You can configure the amount of memory available to Maven during a build by setting the MAVEN_OPTS environment variable as explained in http://servicemix.apache.org/building.html.
Regards, Gert Vanthienen ------------------------ Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ 2009/7/2 sgg <[email protected]>: > > First time post. > > * I am trying to build ServiceMix from source on my Mac (in preparation for > debugging SUs and SAs in Eclipse). > * I read the page on importing ServiceMix into eclipse [1]. > * I downloaded apache-servicemix-3.3.1 src > * I ran: mvn -Dmaven.test.skip=true -P=step1 > It took a while, built many things, but eventually died: > > [INFO] [compiler:compile] > [INFO] Compiling 293 source files to > /Users/sggraham/apache-servicemix-3.3.1/src/core/servicemix-core/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 > at com.sun.tools.javac.util.Name.fromUtf(Name.java:84) > at com.sun.tools.javac.util.Name$Table.fromUtf(Name.java:494) > ... > > The software updates feature of the Mac indicated that the Java version is > latest (java version "1.5.0_19") > > Is there a place somewhere within the Maven files to specify the min and max > heap size? > > thanks in advance > sgg > > [1]http://servicemix.apache.org/importing-servicemix-into-eclipse.html > -- > View this message in context: > http://www.nabble.com/java.lang.OutOfMemoryError%3A-Java-heap-space-installing-ServiceMix-src-on-Mac-tp24308094p24308094.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > >
