Hi all, We have a PDF file that has approximately 50.000 pages in it. It is about 35 MB in size. The file needs to be digitally signed and timestamped. I understand that there will be some slow down for bigger files, but this seems to be a bit extreme (from 30 to 45 minutes per document). Here are the bottlenecks of the code:
PdfReader reader = new PdfReader(inputFileName); // takes about 10 minutes ... sap.preclose(excl); // takes about 20 minutes ... sap.close(dic); // takes about another 5 to 10 minutes Is there anything I can do to speed up the processing? Splitting the input file is not an option (since our customer needs the single large file). The files could actually grow much bigger if for example some images are incorporated on the pages in the PDF. So might need to be able to handle 100MB or even 200MB files in the future too. Any help would be greatly appreciated. thanks in advance, Gerrit Germis ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
