This seems to me to be more than just a minor problem. Old PDFBox could not read my PDFs created with Acrobat 9.
There is another problem: The standard configuration reads the whole PDF in the Java heap space. This solution causes problems with PDF files with a size of more than 1 Gigabyte.
So I had to modify the source of PDFDocument.
I will try to attach my detailed report.
Rolf Neidhart
added a comment - This seems to me to be more than just a minor problem. Old PDFBox could not read my PDFs created with Acrobat 9.
There is another problem: The standard configuration reads the whole PDF in the Java heap space. This solution causes problems with PDF files with a size of more than 1 Gigabyte.
So I had to modify the source of PDFDocument.
I will try to attach my detailed report.
Looked at some alternative implementations, but seems that they just rely on the load() method, which reads the entire pdf.
I have committed a patch that adds a file size check to each pdf when you first try to open the reader, it will skip the file if its size exceeds 300Mb.
Richard McCreadie
added a comment - - edited Looked at some alternative implementations, but seems that they just rely on the load() method, which reads the entire pdf.
I have committed a patch that adds a file size check to each pdf when you first try to open the reader, it will skip the file if its size exceeds 300Mb.
Commit 3747.
Revised PDFDocument for upgraded pdfbox.