[
https://issues.apache.org/jira/browse/PDFBOX-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13802314#comment-13802314
]
Nick Burch commented on PDFBOX-1749:
------------------------------------
Is there any chance that the EOF check could be added in FontBox? We can add a
createFont call in Tika for now, but it doesn't feel quite right for a long
term fix
> Out of memory exception when parsing TTF file
> ---------------------------------------------
>
> Key: PDFBOX-1749
> URL: https://issues.apache.org/jira/browse/PDFBOX-1749
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 1.8.3
> Environment: ubuntu
> java version "1.7.0_40"
> Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
> Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
> Reporter: Erik Hetzner
> Attachments: 16A4FF_8.ttf, PDFBOX_1749.java
>
>
> When parsing the attached TTF file with fontbox, I get an OutOfMemoryError
> (heap space) when parsing via an input stream. If I parse via a File, fontbox
> seems to never return.
--
This message was sent by Atlassian JIRA
(v6.1#6144)