The other common problem is long page sequences, if you can break your
document into multiple page sequences of about 10 to 20 pages, there is
quite a significant performance improvement

-----Original Message-----
From: Michail Bikoulis [mailto:[EMAIL PROTECTED]
Sent: 18 October 2001 08:40
To: '[EMAIL PROTECTED]'
Subject: RE: Servlet stops


Hello,

I'm not sure if this helps but when I convert documents running FOP with the
Java command from an MS-DOS window I use the parameters

-Xms64M -Xmx320M

which allocate enough memory for large documents. Is there something similar
you can do in a servlet?

Regards,

Mike

-----Original Message-----
From: Kuehnberger [mailto:[EMAIL PROTECTED]
Sent: 17. oktober 2001 17:26
To: [EMAIL PROTECTED]
Subject: Servlet stops


Hi,

I'm using fop to generate pdf in a servlet.
It works fine until the size of the pdf become bigger then 20 pages (I
have to process files of 200-300 pages).
Then the servlet will stop when I render the document doc:

driver.render( doc );

and after some time I get 'page can not be displayed' or
java.lang.OutOfMemoryError (I got 512MB RAM).

Can somebody tell me how to render big documents on the server.

Jens


Reply via email to