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 on
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
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.c
Hi
Yes both values are set properly ,But still I get the heap space error.
Thank you.
On Tue, Apr 28, 2015 at 11:44 AM, Pumudu Ruhunage wrote:
> 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 wi
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 proc