On 04/07/2011 14:31, Nirmal Fernando wrote:
Did I make a mistake by running "mvn compile" before "mvn install"?

I tried to run "mvn install", it ran out of java heap memory. :(

Nirmal,

You need to adjust the Maven OPTS for the Java heap size, as described here:

http://tuscany.apache.org/tuscany-sca-java-faq.html#TuscanySCAJava-FAQ-BuildD

Simply put - set the MAVEN_OPTS environment variable to a value something like 
this:

MAVEN_OPTS=-Xms256m -Xmx1024m -XX:MaxPermSize=350m


Yours,  Mike.

Reply via email to