You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Bramani <be...@cgi.com> on 2009/01/14 21:25:02 UTC

OutOfMemoryError on FOP

Hi,

I was trying to generate PDF from the 13 MB .fo file using the (fop-0.20.5)
version on the Windows XP machine which has 1GB of RAM. I have -xmx and -xms
parameter set to 1024 MB (which is max I can go).

I was getting following out of memory error:

http://www.nabble.com/file/p21464431/memoryError_fop_0.20.5.jpg 
Then I upgraded to FOP-0.95 version and now I am successfully able to
generate PDF from 13 MB .fo file.

--> BUt now when I am trying to generate PDF form 55 MB .fo file (using
fop-0.95) , FOP generates PDF of around 2 MB size and then just hangs for
hours and I have to kill the whole process manually. This .fo file is also
referring to other 600 images which are of average size 40 KB each.

I am using FOP- 0.95 version and generating .fo file from XSL transformation
using xsltproc processor: 

xsltproc --nonet --novalid --output Part5.fo PDFPublish_External.xsl
PDF_Part5.xml 

And then using Fop-0.95 version to convert .fo file to .pdf 

call Fop -q -r -c fop.xconf Part5.fo PDF_Part5.pdf 

I have attached my Part5.fo file here  ==> 
http://www.nabble.com/file/p21464431/Part5.zip Part5.zip 

Does any one know the cause for this issue?
Any help will be appreciated.

Thanks.
-- 
View this message in context: http://www.nabble.com/OutOfMemoryError-on-FOP-tp21464431p21464431.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org