You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dave Hoffer <DH...@xrite.com> on 2006/05/03 20:41:32 UTC

How to specify max heap size when running tests?

How can I tell Java to use a larger heap size (~500m) when building
certain projects in Maven2?  I see some options for this in the
maven-compiler-plugin but how can I do this for the tests?

 

Thanks.

 

-dh


RE : How to specify max heap size when running tests?

Posted by Olivier Lamy <ol...@accor.com>.
In $HOME/.profile  or windows variable
Add MAVEN_OPTS="-Xmx512m -Xms512m"

- Olivier

-----Message d'origine-----
De : Dave Hoffer [mailto:DHoffer@xrite.com] 
Envoyé : mercredi 3 mai 2006 20:42
À : Maven Users List
Objet : How to specify max heap size when running tests?


How can I tell Java to use a larger heap size (~500m) when building
certain projects in Maven2?  I see some options for this in the
maven-compiler-plugin but how can I do this for the tests?

 

Thanks.

 

-dh




This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
********************************************************************** 
Ce message électronique et tous les fichiers joints ainsi que  les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites.
********************************************************************** 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org