RE: outofmemory error

Give the JVM more memory using -Xmx currently I use 512M.  But how much you
give it is very dependant on how much memory the machine running FOP has on
it.  I would suggest if you are processing large documents get 1G.

--Dave

>-----Original Message-----
>From: Long Zhao [mailto:LZhao@firstgenetic.net]
>Sent: Friday, January 04, 2002 7:52 AM
>To: www-xsl-fo@w3.org
>Subject: outofmemory error
>Sensitivity: Confidential
>
>
>Hi all,
>
>I use apache FOP to generate .pdf file and display it on 
>broswer. if the
>pdf file is small, let us say, less than 50 pages, it works fine. but
>sometime, the file contains more pages, the program fail while writing
>out to broswer, and says "outofmemory error"
>Does anyone has a solution?
>
>Thanks
>
>Long
>

Received on Friday, 4 January 2002 09:06:28 UTC