Unfortunately this doesn't cure it.

I tried 256, 512, & 1024 and I still get the memory error as below

I have also tried running fork=no and it makes no diff


From: "Alexey Demakov" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Subject: Re: Out of memory when using maven jar
Date: Wed, 4 Jun 2003 20:38:10 +0400

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]


_________________________________________________________________ Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to