DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4384>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4384

Ant 1.4.1 javac task throws out of memory error building large project.

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From [EMAIL PROTECTED]  2001-11-10 16:24 -------
As stated in the documentation <javac> runs in Ant VM as a default.
Therefore it is more demanding on the VM than a javac process standalone.

You have 2 options:

1) use the fork attribute and tune the vm size as specified in <javac> 
documentation. http://jakarta.apache.org/ant/manual/CoreTasks/javac.html

2) Tune Ant VM via environment variable ANT_OPTS for example to -Xms128M -
Xmx256M

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to