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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]