Hi, Those values should be enough. For example, I have:
$ echo $MAVEN_OPTS -Xms512m -Xmx1536m -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=256m When you run mvn clean install, run following command in another terminal. ps -ef | grep "clean install" You should see MAVEN_OPTS value in the process. Thanks! Best Regards, On Tue, Apr 28, 2015 at 11:27 AM, Elilmatha Sivanesan <elilma...@wso2.com> wrote: > > Hi all, > > I'm building carbon mediation and product-esb from source and getting an > error > > [ERROR] Java heap space -> [Help 1] > > My bashrc file looks like this > export MAVEN_OPTS="-Xmx4096m -Xms1024m -XX:PremSize=1024m > -XX:MaxPermSize=1024m" > export JVM_ARGS="-Xmx4096m -XX:MaxPermSize=2048m" > > Can any one suggest with the correct value to use here. > > -- > *S.Elilmatha* > Associate Software Engineer, > > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > Mobile 0779842221. > > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev