In this case, you have a problem with FOP. Splitting the document into
multiple page-sequences is the only current work-around (except
increasing the available memory). You will have to find a way to
manually determine where you need to break a page. The only other option
is to allocate resources to the FOP project and help us improve handling
of large volumes.

On 11.05.2006 17:35:08 Giorgio [EMAIL PROTECTED] wrote:
> 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.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to