I've found a memory leak in Batik version 1.6...
http://issues.apache.org/bugzilla/show_bug.cgi?id=41988
I thought other people might be interested in looking at it. I don't
have the latest SVN version built right now so I can't test whether
it's fixed in the latest SVN code.
If not, it should be fairly easy to track down with this test (which
basically just does lots of DOM manipulations until an
OutOfMemoryError occurs).
As a side note, the bug I was actually trying to reproduce when I
wrote this test was this exception:
java.lang.NullPointerException
at
org.apache.batik.bridge.AbstractGraphicsNodeBridge.handleDOMNodeRemovedEvent(Unknown
Source)
at
org.apache.batik.bridge.BridgeContext$DOMNodeRemovedEventListener.handleEvent(Unknown
Source)
at org.apache.batik.dom.events.EventSupport.fireEventListeners(Unknown
Source)
at org.apache.batik.dom.events.EventSupport.dispatchEvent(Unknown
Source)
at org.apache.batik.dom.AbstractNode.dispatchEvent(Unknown Source)
at
org.apache.batik.dom.AbstractParentNode.fireDOMNodeRemovedEvent(Unknown
Source)
at org.apache.batik.dom.AbstractParentNode.removeChild(Unknown Source)
No progress on that one yet either :-(
See also this thread, which seems to relate to both exceptions:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/200304.mbox/[EMAIL
PROTECTED]
Thanks,
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]