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

Page By Page Rendering



You can write it to a temp file on disk. 

> -----Original Message-----
> From: itext-questions-admin (at) lists.sourceforge.net 
> [mailto:itext-questions-admin (at) lists.sourceforge.net] On 
> Behalf Of Bharath
> Sent: Monday, February 06, 2006 5:33 PM
> To: Bruno Lowagie
> Cc: itext-questions (at) lists.sourceforge.net
> Subject: Re: [iText-questions] 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
> 
> 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions