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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to