On Mon, Jul 4, 2011 at 7:31 PM, Mike Edwards <
[email protected]> wrote:

> 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<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
>
>
Thanks Mike, I'll try with that!


>
> Yours,  Mike.
>



-- 
Best Regards,
Nirmal

C.S.Nirmal J. Fernando
Department of Computer Science & Engineering,
Faculty of Engineering,
University of Moratuwa,
Sri Lanka.

Blog: http://nirmalfdo.blogspot.com/

Reply via email to