If you are using PdfCopy update to the latest iText release and call freeReader().
Paulo ----- Original Message ----- From: "Pravin Kumar Venkatraj" <[EMAIL PROTECTED]> To: <itext-questions@lists.sourceforge.net> Sent: Thursday, January 04, 2007 6:42 AM Subject: [iText-questions] OutOfMemoryError exception,when merging of files reaches 60MB Sir, We are facing problem while merging the PDF files (using iText 1.1) When the merged PDF reaches 60MB, we are getting java.lang.OutOfMemoryError exception. We increased the heap size using the below command Java -Xms32m -Xmx512m Still the problem is persisting. We are using JDK1.3 that runs on Win 2000 which has 1GB RAM, and virtual memory paging size set to 2000-5000 Could you please help us to solve the above issue? Thanks & Regards Pravin Kumar .V. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/