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

Out of memory exception when parsing TTF file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.2
    • 1.8.3, 2.0.0
    • FontBox
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: