I get Java OutOfMemory errors when I generate a PdfPTable greater than 500 rows 
with 22 columns.  I had the same problem originally with the Table class, but I 
changed to PdfPTable after reading the newsgroup.

I've already maxed out my JVM memory settings at 500MB, but I'm looking for a 
permanent solution.  Is there a memory leak I may not be seeing, or do I need 
to look into programming garbage collection into my jsp.  By the way, this 
problem is occurring in a jsp I've written that uses Beans to query a MySQL 
database and generate a pdf table containing various ResultSets returned and 
iterated through to populate the table.

Is there something I can do to prevent this besides generating a new PdfPTable 
for every new page in the pdf document, which I am having trouble doing.  
Specifically, I'm having trouble generating a new table header for the 
ResultSets spanning more than one page.

Any advice is appreciated.  Let me know if you would like to see some code.

Tyler





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to