You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Van Niekerk, Ida" <IV...@fnb.co.za> on 2006/11/03 11:28:56 UTC
Increase maven runtime heap space
Hi there,
Maven is currently hanging and I was advised to increase the available
heap space in the Maven runtime, but executing the following command:
export MAVEN_OPTS=-Xmx1024m
I am just not sure in which file to put this. Do I have to put this in
mvn.bat in my parent pom? Any help will be much appreciated. Thanks :-)
To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser:
https://www.fnb.co.za/disclaimer.html
If you are unable to access the Disclaimer, send a blank e-mail to
firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the Disclaimer.
Re: Increase maven runtime heap space
Posted by franz see <fr...@gmail.com>.
Good day to you, Van,
In addition to what Arnaud mentioned, for windows system, there's
mavenrc_pre.bat which is called before maven is executed, and
mavenrc_post.bat after maven is executed.
Cheers,
Franz
Arnaud Bailly-3 wrote:
>
> You can use the $HOME/.mavenrc under Unices to store your MAVEN_OPTS
> variable. This script is sourced by the mvn executable script.
>
>
> --
> OQube < software engineering \ génie logiciel >
> Arnaud Bailly, Dr.
> \web> http://www.oqube.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Increase-maven-runtime-heap-space-tf2567278s177.html#a7185014
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Increase maven runtime heap space
Posted by Arnaud Bailly <ab...@oqube.com>.
You can use the $HOME/.mavenrc under Unices to store your MAVEN_OPTS
variable. This script is sourced by the mvn executable script.
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Increase maven runtime heap space
Posted by Sebastien Brunot <sb...@ilog.fr>.
Hi,
I actually increase the heap space by setting the MAVEN_OPTS variable in
the mvn.bat script, it works fine. I've just added the following line at
the top of the script (after the two first paragraphs of comments):
set MAVEN_OPTS=-DXms_1024M -DXmx=1024M
Sebastien
-----Original Message-----
From: Van Niekerk, Ida [mailto:IVanNiekerk@fnb.co.za]
Sent: Friday, November 03, 2006 11:29 AM
To: users@maven.apache.org
Subject: Increase maven runtime heap space
Hi there,
Maven is currently hanging and I was advised to increase the available
heap space in the Maven runtime, but executing the following command:
export MAVEN_OPTS=-Xmx1024m
I am just not sure in which file to put this. Do I have to put this in
mvn.bat in my parent pom? Any help will be much appreciated. Thanks :-)
To read FirstRand Bank's Disclaimer for this email click on the
following address or copy into your Internet browser:
https://www.fnb.co.za/disclaimer.html
If you are unable to access the Disclaimer, send a blank e-mail to
firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the
Disclaimer.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org