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 prashanth hs <pa...@gmail.com> on 2010/04/23 06:02:37 UTC

Unable to read more than 1MB file

Hi,

I am using batik1.7 to view the svg files, but the thing is i am not able to
open the more than 1MB of file. Can you please help me out in this matter.
Please reply me as soon as possible.

Thanks and Regards:
Prashanth H S

Re: Unable to read more than 1MB file

Posted by Helder Magalhães <he...@gmail.com>.
Hi Prashanth,


> I am using batik1.7 to view the svg files, but the thing is i am not able to
> open the more than 1MB of file. Can you please help me out in this matter.

One megabyte of SVG can take quite a bit of memory, depending on
content (filters, animation, etc.). :-)

Note that the "default memory partition for java is ridiculously
small" [1] and you should increase it for this kind of documents. Try
something like:

java -Xmx1024m -jar batik-squiggle.jar

More information available in the already stated link [1].


> Please reply me as soon as possible.
>
> Thanks and Regards:
> Prashanth H S

Hope this helps,
 Helder


[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=43369#c3

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