Well I figured it out.
canvas.flushImageCache();
David Avery wrote:
Hello Folks,
Im using
canvas.setURI(documentURL.toString());
to reload several svg files.
After about 8 reloads batik seems to be using a hugh amount of memory,
provoking a java.lang.OutOfMemory.
Are there any tips out there on cleaning up listeners, or freeing
objects so I could continue loading SVG files?
Anxious in Austin,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]