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