ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rogers" <jason.rog...@tumbleweed.com>
Subject RE: java switches
Date Wed, 15 Aug 2001 12:29:48 GMT
Thanks Glenn.

    > -----Original Message-----
    > From: Glenn McAllister [mailto:glenn@somanetworks.com]
    > Sent: Tuesday, August 14, 2001 6:00 PM
    > To: ant-user@jakarta.apache.org
    > Subject: Re: java switches
    > 
    > 
    > Jason Rogers wrote:
    > 
    > > I am pretty sure this has been covered but I can't find 
    > it on the archives.
    > >
    > > I am trying to build a pretty large project, and am 
    > running out of memory.
    > > Therefore, I would like to up the max memory of java.  
    > How can I set the
    > > -Xmx switch when invoking Ant?
    > 
    > Set the environment var ANT_OPTS, like
    > 
    > ANT_OPTS="-Xmx128M"
    > export ANT_OPTS
    > 
    > in your .profile/custom build.sh/whatever...
    > 
    > Glenn McAllister
    > SOMA Networks, Inc.
    > 
    > 
    > 


Mime
View raw message