Re: Increase maven runtime heap space
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 [EMAIL PROTECTED] and we will send you a copy of the Disclaimer.
RE: Increase maven runtime heap space
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:[EMAIL PROTECTED] 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 [EMAIL PROTECTED] and we will send you a copy of the Disclaimer. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Increase maven runtime heap space
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]