On 18 Oct 2015, at 11:09, Sean Owen 
<so...@cloudera.com<mailto:so...@cloudera.com>> wrote:


These are still too low I think. Try 4g heap and 1g permgen. That's what the 
error tells you right?

On Sat, Oct 17, 2015, 10:58 PM Chester Chen 
<ches...@alpinenow.com<mailto:ches...@alpinenow.com>> wrote:
Yes, I have tried MAVEN_OPTS with

-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m

-Xmx4g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m

-Xmx2g -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=512m

None of them works. All failed with the same error.

thanks



fwiw, here's min. The headless one is a relic of apple jdk6 that I could 
probably cut now.

$ echo $MAVEN_OPTS
-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m -Xms256m 
-Djava.awt.headless=true

Reply via email to