You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Nirmesh Desai <nd...@autonomy.com> on 2008/10/10 00:59:28 UTC

OutOfMemory error

Hi,

 

I get OutOfMemory error with the file (with ~6 instances) (unfortunately
I cannot attach the file) in JSVGCanvas as well as squiggle.

 

I have larger svg docs which are generated by pasing svggraphics to a
custom drawing component.

 

I cannot modify most of the svg, however is there a guideline to reduce
size of dom generated which I can use to try and modify svg or
restructure.

 

Any hints and pointers will be helpful.

 

Thanks in advance.

 

Regards,

Nirmesh.

 


Re: OutOfMemory error

Posted by Helder Magalhães <he...@gmail.com>.
> I get OutOfMemory error with the file (with ~6 instances) (unfortunately I
> cannot attach the file) in JSVGCanvas as well as squiggle.
>
> I have larger svg docs which are generated by pasing svggraphics to a custom
> drawing component.

You may raise the available memory to the virtual machine by adding
the additional parameter Xmx ("-Xmx512m" for 512MB, for example).



> I cannot modify most of the svg, however is there a guideline to reduce size
> of dom generated which I can use to try and modify svg or restructure.

I'm trying to find the time to do perform some investigation on this
but this will likely take a while... :-|



Hope this helps,

  Helder Magalhães

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