Re: [iText-questions] Problem with large Pdf reading with PdfReader

2012-07-20 Thread Hanmant Sapkal
Thanks John, You pinout exact cause. Now I can process large pdf files pretty good. Here is what i did misteks. 1) I was using iText-2.7 which eventually fails to process large pdf documents (larger than about 30 Megs). 2) while upgrating my code from iText-2.7 to iText-5.3.0, i was only replac

Re: [iText-questions] Problem with large Pdf reading with PdfReader

2012-07-13 Thread John Renfrew
If you are using 5.0.3 how come you are getting com.lowagie.text.pdf errors?? Sent while on the move On 13 Jul 2012, at 07:10, Hanmant Sapkal wrote: > PdfReader reader; > RandomAccessFileOrArray raFileOrArray = new > RandomAccessFileOrArray("/tmp/large-file.pdf"); > reader = new PdfReader(raFil

Re: [iText-questions] Problem with large Pdf reading with PdfReader

2012-07-13 Thread Hanmant Sapkal
PdfReader reader; RandomAccessFileOrArray raFileOrArray = new RandomAccessFileOrArray("/tmp/large-file.pdf"); reader = new PdfReader(raFileOrArray, null); This also cause same exception: java.lang.StackOverflowError at java.util.HashMap$KeySet.iterator(HashMap.java:867) at com.l

Re: [iText-questions] Problem with large Pdf reading with PdfReader

2012-07-13 Thread Paulo Soares
PdfReader reader; RandomAccessFileOrArray raFileOrArray = new RandomAccessFileOrArray("/tmp/large-file.pdf"); reader = new PdfReader(raFileOrArray, null); Paulo On Fri, Jul 13, 2012 at 11:47 AM, Hanmant Sapkal wrote: > Hello, > > We are facing a problem while reading large Pdf files (around abov

[iText-questions] Problem with large Pdf reading with PdfReader

2012-07-13 Thread Hanmant Sapkal
Hello, We are facing a problem while reading large Pdf files (around above 32 Meg with 5000 pages). I am using itext-5.3.0 System configuration = Solaris with Weblogic-9.2 and JVM HotSpot I tried bellow constuctors to read the Pdf 1. PdfReader(byte[] pdfIn) 2. PdfReader(RandomAccessFileOrArray r