ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4384] - Ant 1.4.1 javac task throws out of memory error building large project.
Date Sun, 11 Nov 2001 00:24:34 GMT
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.

sbailliez@apache.org changed:

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



------- Additional Comments From sbailliez@apache.org  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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message