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] New: - java.lang.OutOfMemoryError in <for> <from antcall>
Date Mon, 27 Nov 2006 21:47:01 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

           Summary: java.lang.OutOfMemoryError in <for> <from antcall>
           Product: Ant
           Version: 1.7.0Beta3
          Platform: Sun
        OS/Version: Windows XP
            Status: NEW
          Keywords: JDK1.4
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: bob@yrrid.com


For apache-ant-1.7.0Beta3 and ant-contrib-1.0b3
ant run-dummy causes OutOfMemoryError where:

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

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

Will only run i < 400.
Tried <macrodef>, the memory leak is less, but is still there:

   <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