You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Hervé Girod <he...@club-internet.fr> on 2005/06/02 01:58:26 UTC
Re: Out of Memory error in Batik
Thomas DeWeese wrote:
> Hi Hervé
>
> I would suspect that you are not cleaning up your
> listeners. You either need to remove your listeners
> or make sure your listeners go to GC otherwise they
> can easily cause memory leaks. At this point Batik
> has been pretty well tested for memory leaks and they
> generally involve complex scenarios, just loading a
> document repeatedly seems unlikely to cause the problem.
Thanks for the suggestion !! At the moment, I looked in my code and
could not see where are my "faulty" listeners, but I think I must take a
closer look... Sorry that I incorrectly put the fault on Batik, but you
know, when he can't see easily where the problem lies in his own code,
the user always try to blame others...
>
> Hervé Girod wrote:
>
>> I use Batik in a Java application and have a Out of Memory error
>> after opening and closing several times big XML files.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org