Yotam, yotamv wrote > I'm getting OutOfMemoryError while trying to deal with existing PDFs. The > Error happens only for files larger then 3M (+-). Code is working fine for > files smaller than that. > > PdfReader reader = new PdfReader(in); > > "in" is the InputStream from a file.
Use the PdfReader constructor using a RandomAccessFileOrArray. Regards, Michael -- View this message in context: http://itext-general.2136553.n4.nabble.com/Out-of-memory-problem-tp4657110p4657115.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
