maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: maven.bat and -Xmx, remove MAVEN_DEFAULT_OPTS?
Date Mon, 02 Jun 2003 16:44:02 GMT


> -----Original Message-----
> From: news [mailto:news@main.gmane.org] On Behalf Of dIon Gillard
> Sent: 02 June 2003 16:56
> To: dev@maven.apache.org
> Subject: Re: maven.bat and -Xmx, remove MAVEN_DEFAULT_OPTS?
> 
> Isn't this what MAVEN_OPTS is for?
> 
> The user can set stuff in MAVEN_OPTS and override the defaults....

hum... are you saying that the following works:

java -Xmx160m -Xmx256m [...]

?

Even if it works, it doesn't look like a valid solution but more like a
trick to me. What do you think?

Thanks
-Vincent

> 
> dIon
> 
> Vincent Massol wrote:
> > Hi,
> >
> > I've noticed we've hard coded the jvm max memory to:
> >
> > SET MAVEN_DEFAULT_OPTS="-Xmx160m"
> >
> > I need to adjust this memory to a greater value and I think it would
be
> > nice to let users do this *without* having to modify the maven.bat
file
> > every time a new version of maven is downloaded.
> >
> > I suggest removing the "SET MAVEN_DEFAULT_OPTS="-Xmx160m" line
> > altogether (and thus remove the MAVEN_DEFAULT_OPTS variable).
> >
> > Any objections?
> >
> > Thanks
> > -Vincent
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org



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


Mime
View raw message