Hi Elimantha,

Did you check those options are set correctly when you run the build?
If they already set successfully, then it might be because still the
allocation is not enough. But probably your current allocation looks enough.
Anyway you can try to increase and build again.

Thanks

On Tue, Apr 28, 2015 at 11:27 AM, Elilmatha Sivanesan <[email protected]>
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
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog      alokayasoya.blogspot.com
About    http://about.me/thusithathilina
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to