List Info

Thread: DO NOT REPLY New: - java.lang.OutOfMemoryError in




DO NOT REPLY New: - java.lang.OutOfMemoryError in <for> <from antcall>
user name
2006-11-27 21:47:01
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=41
049>.
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: devant.apache.org
        ReportedBy: bobyrrid.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 " />
          <antcall target="dummy" />
        </sequential>
      </for>
   </target>

   <target name="dummy" >
      <for param="j" begin="1"
end="50">
        <sequential>
          <echo message="   j is "
/>
        </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 " />
          <dummyalt/>
        </sequential>
      </for>
   </target>

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

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

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )