I have a quite big fo file generated programmatically in this way:
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master page-height="210mm" page-width="297mm"
margin="10mm 2mm 2mm 2mm" master-name="PageMaster">
<fo:region-before region-name="header" extent="15mm"
display-align="before"/>
<fo:region-body margin="10mm 3mm 3mm 3mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence initial-page-number="1" master-reference="PageMaster">
<fo:static-content flow-name="header">
<fo:block font-size="8pt" text-align="center">
something
</fo:block>
<fo:block font-size="8pt" text-align="center">
Anno: 2005 / Pagina: <fo:page-number/>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
lot's of things feeded via java trough a loop
</fo:flow>
</fo:page-sequence>
</fo:root>
I need to generate a PDF file of about 1500 - 2000 pages but I got
OutOfMemory (even If I use a large amount (more than 350 Mb) of it).
I red about use more than one page-sequence but I can't split it in
pages by my own hands because I dunno after how many iterations The
document reach the end of a page.
thanks in advance, best regrds
Giorgio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]