Re: FOP and large documents: out of memory

2010-01-14 Thread Vincent Hennebert
Hi Stephan, I’m not sure I would invest any energy into improving the CachedRenderPagesModel (-conserve option). It doesn’t look like the right approach to me, and like you noticed it doesn’t even work out of the box currently. Why store the Area Tree on disk? Why not directly render it into the

Re: FOP and large documents: out of memory

2010-01-14 Thread Andreas Delmelle
On 13 Jan 2010, at 22:37, Stephan Thesing wrote: On 13 Jan 2010, at 21:27, Stephan Thesing wrote: ... Our documents include graphics (SVG, PNG), and the serialization with -conserve throws an exception, because some class in Batik is not serializable (e.g. SVGOMAnimatedString IIRR), thus

Re: FOP and large documents: out of memory

2010-01-13 Thread Andreas Delmelle
On 13 Jan 2010, at 21:27, Stephan Thesing wrote: Hi Stephan, snip / Since increasing the heap space does not always work (3 GB heap space was required in one example), I need a better solution for this. 1. -conserve option One alternative would be the -conserve option, which serializes