ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn McAllister <>
Subject Re: java switches
Date Tue, 14 Aug 2001 21:59:56 GMT
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

export ANT_OPTS

in your .profile/custom

Glenn McAllister
SOMA Networks, Inc.

View raw message