On Tuesday 06 March 2007 16:03, Mike Colbert wrote: > --- "Bruno Lowagie (iText)" <[EMAIL PROTECTED]> wrote: > > Are you building a PDF from scratch, > > or are you manipulating an existing PDF? > > Are you using iText's 'basic building blocks' > > or are you creating all the content using > > the direct content mechanism? > > I'm building PDFs and RTFs from scratch, using basic building blocks. The > content is a set of results from a query, streamed from an external system. > The output documents are likewise streamed to the client. The result sets > can be quite large and there can be many users trying to do this > simultaneously. The more results-per-document and the more users I can > handle, the better. The more efficient I can make the processing, the less > I have to resort to deployment strategies in order to achieve scalability. The RTF generation uses slightly more memory internally, as the basic building blocks are translated into RTF equivalents before being written. Also due to the way the format works, everything has to be cached and the final RTF document can only be written when the iText document is closed. You can set the caching style to disk caching (http://itextdocs.lowagie.com/tutorial/rtf/documentsettings/index.html#) and then the total memory use should only be slightly higher than for the PDF generation.
Greetings, Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
