by default in maven.bat SET MAVEN_DEFAULT_OPTS="-Xmx160m" -> jvm use only 160MB
try to set environment variable MAVEN_OPTS to something like SET MAVEN_OPTS="-Xmx256m" when running maven Best regards, Alexey --- Alexey Demakov, ISP RAS www: http://redverst.ispras.ru e-mail: [EMAIL PROTECTED] ICQ 740187 ----- Original Message ----- From: "Aaron Robinson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 04, 2003 8:07 PM Subject: Out of memory when using maven jar > I am getting the following memory when trying to run maven jar - I've got a > gig of mem and there's nothing else running > > | \/ |__ Jakarta _ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-9-SNAPSHOT > > > java:prepare-filesystem: > > java:compile: > [javac] Since fork is true, ignoring compiler setting. > [javac] Compiling 925 source files to C:\Data\Banana\target\classes > [javac] Since fork is true, ignoring compiler setting. > [javac] > [javac] > [javac] The system is out of resources. > [javac] Consult the following stack trace for details. > [javac] java.lang.OutOfMemoryError > > BUILD FAILED > Compile failed; see the compiler error output for details. > Total time: 19 seconds > > TIA > Aaron > > _________________________________________________________________ > Stay in touch with absent friends - get MSN Messenger > http://www.msn.co.uk/messenger > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
