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 Andreas Neumann <ne...@karto.baug.ethz.ch> on 2006/01/20 17:49:57 UTC
Re: OutOfMemoryError
Hi,
a Gigabyte Memory shold be enough. btw, the flag is -Xmx1000m, and not
-Xms1000m
How big is the width and height of the svg image (I don't mean filesize,
but width and height units)? It might be too big, generating a huge
image with several thousand pixels width and height. If for example it
would result in 100.000 by 100.000 pixel, even 1 Gig of memory probably
wouldn't be enough. You might want to try to explicitly specify a
resolution or output width and height in pixel. The flags are -w -h -a
and -dpi
Andreas
arocha.politec@certegy.com.br wrote:
>> Hi,
>>
>> I'm trying to convert a SVG image to JPG format. My file is very small
>> (about 180kb) but ever I get a OutOfMemoryError when I run this command:
>>
>> java -Xms1000M -Xmx1000M -jar batik-rasterizer.jar -m image/jpg -q 0.75
>> IncluirProposta.svg
>>
>> How can I convert this file?
>>
>> Thanks,
>>
>> André
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
>
--
----------------------------------------------
Andreas Neumann - Institute of Cartography
Swiss Federal Institute of Technology (ETH)
ETH Hoenggerberg
CH-8093 Zurich, Switzerland
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
e-mail: neumann@karto.baug.ethz.ch
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org