Hi,
Am 08.02.2014 20:36, schrieb Steve Tyler:
Hi John,
As much as I applaud your efforts on this project do you have any
idea how I can stop receiving the email updates?
You have to unsubscribe, see [1] for further details
BR
Andreas Lehmkühler
[1] http://pdfbox.apache.org/mailinglists.html
Steve Tyler
Chief Information Officer
UK: +44 (0) 7917 005990
USA: +1 312 239 0593
Email: steve.ty...@episys.com
Web: www.episys.com
On 8 Feb 2014, at 19:33, "John Hewson (JIRA)" <j...@apache.org> wrote:
[
https://issues.apache.org/jira/browse/PDFBOX-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895704#comment-13895704
]
John Hewson commented on PDFBOX-1498:
-------------------------------------
There's no way you're going to be open a 700MB PDF file with only 1024MB of
heap. I think that is probably the cause of your problem. Try using at least 4x
more heap space.
Index Out Of Bounds Exception while reading large PDF Document
---------------------------------------------------------------
Key: PDFBOX-1498
URL: https://issues.apache.org/jira/browse/PDFBOX-1498
Project: PDFBox
Issue Type: Bug
Reporter: Manoj Patel
Assignee: Andreas Lehmkühler
I am getting java.lang.IndexOutOfBoundsException while reading large PDF
document (800 mb).
Below is the full stack
Exception in thread "main" org.apache.pdfbox.exceptions.WrappedIOException
at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:243)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1071)
at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:1038)
at imageData.AddFooter.main(AddFooter.java:26)
Caused by: java.lang.IndexOutOfBoundsException: Index: 3377, Size: 3377
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.apache.pdfbox.io.RandomAccessBuffer.seek(RandomAccessBuffer.java:84)
at
org.apache.pdfbox.io.RandomAccessFileOutputStream.write(RandomAccessFileOutputStream.java:106)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at java.io.FilterOutputStream.close(FilterOutputStream.java:140)
at
org.apache.pdfbox.pdfparser.BaseParser.parseCOSStream(BaseParser.java:606)
at org.apache.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:566)
at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:187)
... 3 more
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)