ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: out of memory with javac
Date Thu, 03 May 2001 21:40:13 GMT
See the mail archive at message:

And for a little more info:

(Guess I should probably add this one to the FAQ.)


--- Mike Pedersen <> wrote:
> Hello all, I'm attempting to compile a project which contains about 1300
> source files on solaris.  When using ant 1.3 or 1.4latest alpha I get
> the 
> following error.
>      [javac] The compiler has run out of memory.  Consider using the 
> "-J-mx<number>" command line option to increase the maximum heap size.
>      [javac] Compile failed, messages should have been provided.
> Smaller projects build successfully on this configuration.  I've noticed
> that the javac task doesn't have a maxmem option like the javadoc 
> task.  I'm wondering what the best way with in ant would be to increase
> the 
> available memory?  This project does build successfully on my Windows
> box.
> Thanks much for any help.


Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices

View raw message