Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1749

Out of memory exception when parsing TTF file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.8.3, 2.0.0
    • Component/s: FontBox
    • Labels:
      None
    • 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)

      Description

      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.

        Attachments

        1. 16A4FF_8.ttf
          19 kB
          Erik Hetzner
        2. PDFBOX_1749.java
          0.6 kB
          Erik Hetzner

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              egh Erik Hetzner
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: