Hi all,

I'm experiencing java.lang.OutOfMemoryError when trying to load a big
svg file (a whopping 5.35MB).
I have the latest CVS version of Batik.

The document i'm loading is static, so I've been trying to delete the
dom elements as soon as they have been converted to their corresponding
gvt equivalents (in GVTBuilder) in the hope to free up some memory.
Unfortunately I haven't been successful to get rid of the outofmemory
error. This process is also terribly slow because each removal of a node
checks if the node is a child of the parent we wish to remove it from
and the parent contains 40.000 nodes. But that is not batik's fault but
the way DOM works.
 
Is there a way to cope with this other than increasing the java heap
size? It loads fine in the Adobe SVG plugin.

Regards,
Harm


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to