Re: Parsing a large PDF file using PDFBox

2013-10-24 Thread Fred Hansen
esday, October 23, 2013 8:06 PM, Fred Hansen wrote: How much memory has your computer got? How much space does the program occupy when processing a small pdf? On Wed, 10/23/13, anita kulkarni wrote: Subject: Parsing a large PDF fi

Re: Parsing a large PDF file using PDFBox

2013-10-24 Thread anita kulkarni
ogram occupy when processing a small pdf? On Wed, 10/23/13, anita kulkarni wrote: Subject: Parsing a large PDF file using PDFBox To: "dev@pdfbox.apache.org" Date: Wednesday, October 23, 2013, 3:42 PM Hi     I need to put a header and footer

Re: Parsing a large PDF file using PDFBox

2013-10-23 Thread Fred Hansen
How much memory has your computer got? How much space does the program occupy when processing a small pdf? On Wed, 10/23/13, anita kulkarni wrote: Subject: Parsing a large PDF file using PDFBox To: "dev@pdfbox.apache.org" Date:

Parsing a large PDF file using PDFBox

2013-10-23 Thread anita kulkarni
Hi     I need to put a header and footer to an existing PDF document. This works fine but when the PDF gets large (>18.9 MB) then I get the out of memory problem. Exception in thread "main" java.lang.OutOfMemoryError: Java heap space     at java.io.BufferedOutputStream.(BufferedOutputStream.jav