directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <ayyagariki...@gmail.com>
Subject Re: java.lang.OutOfMemoryError building DS trunk in a RAM-limited Xen DomU
Date Mon, 27 Apr 2009 04:46:41 GMT

> i suspect (?) the problem is that the 'mvn' build is overriding my
> JAVA_OPTS, note:
> 
>   /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/bin/java -Xmx1024m -jar ...
>                                                        ^^^^
> 
> how can i force the mvn build to work in my allocated RAM/swap?  i've
> though that the JAVA_OPTS setting would/should override any default
> settings ...

try setting the MAVEN_OPTS with the values set for 'JAVA_OPTS'
> 
> thanks!
> 

-- 
Kiran Ayyagari

Mime
View raw message