On Tue, 2003-08-26 at 13:31, Luke Taylor wrote:
> [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.
Indeed a bug. Should be
SET MAVEN_OPTS="%MAVEN_OPTS% -Xmx160m"
or similar (I don't run windows). Could you create a JIRA issue please?
--
Martin Skopp
Riege Software International GmbH
Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com
This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4 5C0D 29E6 6A95 3D40 27B5
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]