> I compared the code converting around 65 SVG files in the 4kb-500kb size
> range to PNGs.  It took ~20.3 seconds using the Dec 7th build.  With the
> patch it took ~28.5 seconds.

Yeah, it's probably ever a much bigger hit for more common usage
patterns such as viewing files and navigating them: for rasterizing
files, I'm guessing that a single rendering of the graphic is
performed so these measements can be somehow obfuscating... :-/

> This was the surprise (for me) with the patch, when I put in an SVG greater
> than 500kb it would fail with an out of memory error.  I can do +900kb SVGs
> without the patch though it does take its time.
>
> I wager that's probably more or less what Thomas expected.  Doesn't quite
> solve my problem since I do have some large SVG files, but I do at least
> have a better idea of what sort of compromises I may have to make.

Well, for working around the specific problem with large files, you
may attempt to increase the memory available for the Java runtime
environment. Searching the mailing list [1] for "Xmx" for a bunch of
threads on how to do it. ;-)

Hope this helps,

 Helder

[1] http://www.nabble.com/Batik-f308.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to