You can use the environment setting named "MAVEN_OPTS" and set the minimum and maximum heap space that Maven will use.

Example:

MAVEN_OPTS="-Xms64m -Xmx512m"

ashelton3 wrote:
I can't get my big Maven job to run. The JVM runs out of memory. Is there a
command line argument or setting that will increase the JVM memory for the
mvn command?

--
Andreas Christoforides
/Senior Software Engineer/

[email protected] <mailto:[email protected]> | www.infusionsoft.com <http://www.infusionsoft.com?ls=signature>

<http://www.infusionsoft.com/sigpromo?ls=sigpromo>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to