Thank you so much your time and giving me such a useful and detailed answer!!!!
I got no messages that indicate me things like Overflow memory, ... So, in that sense, I'm a little lost>-< In the other hand, your curiosity has been awarded: I downloaded sources, put them in JDeveloper, compiled and built jar with OJVM and tested again your example and it worked, at least with 40.000 rows ^_^ The point now is: would this compiled version with OJVM work in others enviroments? The help from Nabble ... well, I'm guilty of that post ^_^ Once again, thank so much for your help!!! Best regards and have a nice weekend!!! Sergio ---------------------------------------- > Date: Fri, 11 Apr 2008 12:17:00 +0200 > From: [EMAIL PROTECTED] > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Memory management for large tables + Virtual > Machine > > Sergio Lopez wrote: > > Also tried with writeSelectedRows but same results... > > I'm not an Oracle specialist, so I can't say more than > what is advised on the page you linked to. However: > some extra questions: on the forum, you find tips on > how to fix the problem (none of the solutions is an > option for you), but do you have any idea what causes > the problem? Is it a memory problem (you say that it > happens when there are more than 2500 rows)? Is it a > problem with the way iText is compiled (currently with > the JDK 1.4)? > It would be interesting to find out if the problem > goes away when you compile iText with an OJVM compiler. > Or if you could work around the "2500 row" problem. > Maybe this will help: > http://www.nabble.com/Re%3A-TableLayout-%2B-Memory-Management-p16471255.html > I've adapted the snippet that applies: > > PdfPTable table = new PdfPTable(4); > table.setComplete(false); > for (int k = 0; k < 20000; ++k) { > table.addCell(new Phrase(String.valueOf(k))); > if (k % 400 == 0) { > document.add(table); > } > } > table.setComplete(true); > document.add(table); > > This should send the rows to the PDF 100 at a time. > -- > This answer is provided by 1T3XT BVBA > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Do you like iText? > Buy the iText book: http://www.1t3xt.com/docs/book.php > Or leave a tip: https://tipit.to/itexttipjar _________________________________________________________________ MSN Noticias http://noticias.msn.es/comunidad.aspx ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar