ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Newbie gets OutOfMemoryError.
Date Tue, 12 Mar 2002 05:33:06 GMT
--- Hans Deragon <> wrote:
> I am a newbie and get the famous OutOfMemoryError.  I want to try to 
> avoid breaking up the building sequence and have all the source
> compiled under one single easy target.
> I tried many options regarding the javac task, but I get the feeling 
> that it does not help much.

You just kept bumping up against Catch-22's -- you can't use the
memory*Size attributes unless you use fork="true", and you can't use fork
and run the Jikes compiler :)

Try running Ant itself with more memory by setting the ANT_OPTS env var to
whatever the memory-increase flag is for the version of Java you're
running (eg., ANT_OPTS=-Xmx256m).



Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message