You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Thomas E Deweese <th...@kodak.com> on 2002/12/03 14:41:19 UTC
RE: Losing memory when using removeChild()
>>>>> "BM" == Barbisch, Martin <ba...@sony.de> writes:
BM> But the memory leak problem was already there before I used
BM> JDK1.4.1 (If I were the only one with that problem I would say it
BM> is my fault. Well, maybe it is mine anyway :-)
>> >> Does the subtree being removed involve 'svg' elements?
>>
BM> No. Only <g>, <text>, <rect> and <use>.
>> Does the use reference a symbol?
BM> No, the <use> references <image>s which are defined within the
BM> <defs> section. Each image is usually referenced by more than one
BM> <use> element.
What do the image element's reference? SVG or raster?
BM> I do change the contents of the <text> elements quite often
BM> (i.e. the text to be displayed). Like this:
BM> var text = document.getElementById("someText");
BM> text.getFirstChild().setData("new text");
It is possible that this also causes problems, but I'm trying to
track down a potential problem with SVG viewports.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org