[EMAIL PROTECTED] wrote:
Up the memory using MAVEN_OPTS is an even better solution.

I'm not sure this will work if you're using the "sh" script in MAVEN_HOME/bin to run maven. At the moment it has


MAVEN_OPTS="$MAVEN_OPTS -Xmx500m"

near the top of the script. (It's not actually 500m, 'cos I've changed it to that).

So even if you set a different memory size in MAVEN_OPTS, chances are it will remain at what's set in the script. The windows script only sets MAVEN_OPTS if it is empty:

if "%MAVEN_OPTS%"=="" SET MAVEN_OPTS="-Xmx160m"

So the behaviour will be different (i.e. OK on windows).

I guess this is a minor bug.

Luke.


-- Luke Taylor. Monkey Machine Ltd. PGP Key ID: 0x57E9523C http://www.monkeymachine.ltd.uk





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



Reply via email to