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 35476] - XMLLogger causes OutOfMemoryError
Date Sun, 26 Jun 2005 18:16:00 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=35476>.
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=35476





------- Additional Comments From alexeys@inventigo.com  2005-06-26 20:15 -------
This is "as-designed" behaviour. SAX will not help - it is only for XML reading.
XMLLogger would have to be rewritten not to create DOM document in memory, 
but to incrementally output XML as text directly into a file. If you are in a
hurry, 
just write your own logger. You can look at the current XMLLogger implementation
in ANT source distribution, in FishEye: 
http://www.cenqua.com/fisheye/demo/viewrep/ant/src/main/org/apache/tools/ant/XmlLogger.java


- Alexey.

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