There's no reason for the bookmarks being the cause of the problem. If they are then it's a bug. Post the file somewhere and next Tuesday I'll have a look at it (I'm on holidays now and a cell phone is not the greatest thing to get 10M).
----- Original Message ----- From: "Paul" <[EMAIL PROTECTED]> To: <itext-questions@lists.sourceforge.net> Sent: Thursday, August 11, 2005 5:24 PM Subject: [iText-questions] Re: Still getting StackOverflowError on some pdf documents > Paulo Soares <psoares <at> consiste.pt> writes: > > > > > I don't know what's happening there but using the constructor > > PdfReader(RandomAccessOrArray, byte[]) I can encrypt the PDF Reference (16M) > > with a 32M JVM. > > > > Paulo, > > It's not just the size of the pdf file. I tried it on a 36MB pdf, it had no > problem. This perticular pdf has over 10,000 bookmarks in it. I guess that's > what caused the problem. > > Paul > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions