xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: Batik memory leak
Date Tue, 14 Dec 2004 02:42:18 GMT
Archie Cobbs wrote:

>>Note that one thing my application does is change the "xlink:href"
>>attribute on existing <use> nodes to point them at different symbols.
>>
>>Perhaps there is some leak where Batik retains a reference to the
>>previously pointed-to <use> referent?
> 
> Aha! I changed my code to delete the previous <use> and add a new
> <use> each time, instead of just changing the "xlink:href" attribute,
> and this fixed the leak.
> 
> So as far as I can tell there is a Batik memory leak in handling this case.

     What version of Batik are you using?

     Also are the href references local, "#blah", or external,
"foo.svg#bar"?  A mix?

     I've given the code a good looking over and it is hard for me
to see where the leak occurs, but I am very interested in finding it.
Any chance of a reproducible test case?



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message