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.
- java switches Jason Rogers
- RE: java switches Glenn McAllister
- RE: java switches Jason Rogers
