Hi Elilmatha,

Did you verified if the MAVEN_OPTS set properly? you can check it with this
command[1]. If it's not set properly reload bashrc with this command[2].

[1] echo $MAVEN_OPTS

[2] source ~/.bashrc


Regards,

On Tue, Apr 28, 2015 at 11:32 AM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> 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 <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
>>
>>
>
>
> --
> 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
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Pumudu Ruhunage
Associate Software Engineer | WSO2 Inc
M: +94 779 664493  | http://wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to