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 41049] - java.lang.OutOfMemoryError in <for> <from antcall>
Date Tue, 28 Nov 2006 22:51:57 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41049>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41049


bob@yrrid.com changed:

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




------- Additional Comments From bob@yrrid.com  2006-11-28 14:51 -------
Yes, the memory leak is essentially fixed in apache-ant-1.7.0RC1.
Yet there is still an extremely small leak.  You have to let 'run-dummy' a long 
time (30 min.+) to notice it.
There is also a memory leak with the <macrodef> version of the test task 'run-
dummyalt' (BTW 'run-dummyalt' runs a lot faster than the 'run-dummy' 
<target><antcall> version):

   <target name="run-dummyalt" >
      <for param="i" begin="1" end="5000000">
        <sequential>
          <echo message="i is @{i}" />
          <dummyalt/>
        </sequential>
      </for>
   </target>

   <macrodef name="dummyalt">
      <sequential>
      <for param="j" begin="1" end="50">
        <sequential>
          <echo message="   j is @{j}" />
        </sequential>
      </for>
      </sequential>
   </macrodef>


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message