Hi,

> -----Message d'origine-----
> De : Bramani [mailto:[email protected]] 
> Envoyé : mercredi 14 janvier 2009 21:25
> 
> 
> 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.

Regarding your Part5.fo file:
 - fox:outline is not implemented in FOP 0.9x since it is replaced with the new 
bookmark elements from XSL-FO 1.1 (see [1])

 - there is a very large text node just after your fox:outline: this is not 
allowed at this location...
   fo:root
      fo:layout-master-set
      fox:outline
      very_large_text_node
      fo:page-sequence
      ...
   See REC XSL-FO 1.1, section 6.4.2 [2]
 - You have only 3 fo:page-sequence, and the 3rd one is very large.
   You should split it for a best memory usage
   There are some tips ont FOP site regarding memory usage (see [3])


[1] http://xmlgraphics.apache.org/fop/0.95/upgrading.html
[2] http://www.w3.org/TR/xsl11/#fo_root
[3] http://xmlgraphics.apache.org/fop/0.95/running.html#memory

HTH,

Pascal


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to