Hi Gang,
"Gang Su" <[EMAIL PROTECTED]> wrote on 06/18/2007 05:26:43 PM:
> What I was trying to do is to generate a svg containing all the gene
> locations on the genome in one single file, then cut the entire svg
> into small tiles.
> I tried on mapWaadt.svg came with Batik, it worked fine.
> But I tried my own svg file, generated by perl and renderable by
> Adobe svg plugin, Batik throws exception.
> I have attached source codes.
> I don’t know it’s my svg’s problem or Batik, as it throwed
> thread "main" java.lang.OutOfMemoryError: Java heap space error.
This means Java ran out of memory. Not very surprising
since the default is something like 64MB. I would suggest
adding '-Xmx512m' or where -Xmx indicates setting max memory
for Java and 512m is 512 megabytes. On a suitable system you
could go up to ~2048m.