By Date: <-- -->
By Thread: <-- -->

Page By Page Rendering



Ya. What if I flush the Docwriter. Will that be helpful? Currently the issue that I am facing is this. The PDF is getting generated for around 900 pages but when it crosses this the system gives a OUT OF MEMORY Error. We feel this is because of the BYTEARRAYSTREAM that we are using to write the PDF to the web application that we use. Or If I create new Documents will that be on a single PDF or multi PDF. I do not want multi-PDF at any cost..
 
Regards
Bharath


 
On 2/3/06, Bruno Lowagie <bruno (at) lowagie.com> wrote:
Bharath wrote:

> Is there a Way to restrict the rendering of the pages at 25 a time
> rather tahn render 500 at once.
>

That's up to you to program.
You can keep the page count in a page event
and write something that triggers the start of
a new document every 25 pages.
I don't have any example code, but it should
be possible to write something like that.
br,
Bruno



--
Bharath

Keep smiling and mailing