ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Barkan <>
Subject javac out of memory error
Date Thu, 27 Feb 2003 16:43:43 GMT

I'm running ant 1.5 on Linux.  I'm compiling a large number of java source
files (1200 or so at once) with the <javac> task.  I get this error:

[javac] Compiling 1290 source files to <dir>
    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.
    [javac] java.lang.OutOfMemoryError

I have a perl executable that calls ant and passes it the necessary
parameters.  Does anyone know how to allocate more memory to ant when
calling it?

If you could cc me on the reply I'd appreciate it as I am a digester.


View raw message