[
https://issues.apache.org/jira/browse/PDFBOX-5991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-5991:
------------------------------------
Summary: NegativeArraySizeException with PDF file with huge fonts (was:
Mitigate problems with PDF file with huge fonts)
> NegativeArraySizeException with PDF file with huge fonts
> --------------------------------------------------------
>
> Key: PDFBOX-5991
> URL: https://issues.apache.org/jira/browse/PDFBOX-5991
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.33, 3.0.4 PDFBox
> Reporter: Tilman Hausherr
> Priority: Major
> Fix For: 2.0.35, 3.0.5 PDFBox, 4.0.0
>
> Attachments: PDFBOX-5991-p57.pdf
>
>
> From Erik Brangs in the users mailing list
> https://lists.apache.org/thread/pc8wm93rbzxzv049l2ccqdrv1ndkqnfy :
> {quote}
> using PDFBox 3.0.4 to extract text from the PDF from
> https://d-nb.info/1349431796/34 fails with a NegativeArraySizeException after
> using up multiple GBs of memory. I used -Xmx12G because the extraction failed
> with an OutOfMemoryError for -Xmx6G.
> {quote}
> Several fonts in the attached file have a huge size when decompressed, one of
> them is larger than maximum integer.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]