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 12499] - memory leak when passing params to target
Date Thu, 12 Sep 2002 00:40:56 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=12499>.
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=12499

memory leak when passing params to target





------- Additional Comments From gregm@bea.com  2002-09-12 00:40 -------
I tried the nightly build again, no dice.  Don't have the cycles to down load, 
etc.  I tracked down the problem to org/apache/tools/ant/taskdefs/Ant.
I stuck this in:

375,379d374
<             Enumeration em = properties.elements();
<             while (em.hasMoreElements()) {
<                 Property p = (Property) em.nextElement();
<                 p.setProject(null);
<             }

Previous leak_test.xml grew to 201 MB, now it only grows to 14 MB.  Tried it out
for real and everything still works fine.  Could someone review this change?

thanks

--
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