I may also add that if you are using an external report generator like Jasper Reports that uses iText for the PDF output you will find this problem. Jasper Reports, for example, keeps all the pages in memory before outputing them to iText.
Best Regards, Paulo Soares > -----Original Message----- > From: Bruno [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 02, 2003 16:22 > To: Fredrik Widman, IT, Posten > Cc: [EMAIL PROTECTED] > Subject: Re: [iText-questions] Huge reports - java.lang.outOfMemory > > Quoting "Fredrik Widman, IT, Posten" <[EMAIL PROTECTED]>: > > > Hi! > > > > When generating huge reports (>50000 pages) the jvm consumes too much > memory > > because of > > that IText buffers the whole report in memory before writing it to an > output > > stream. > > You only have this problem if you construct large Table-objects. > iText flushes content as soon as possible after you add them to > a document. > > > Is there a way to avoid this behaviour? > > Cut your large Tables in smaller ones. > br, > Bruno > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
