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

OutOfMemoryError in text extraction tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.1
    • 1.3.1
    • FontBox, Text extraction
    • None

    Description

      As reported on dev@:

      TestTextStripper failed:
      testExtract(org.apache.pdfbox.util.TestTextStripper) Time elapsed:
      7.32 sec <<< ERROR!
      java.lang.OutOfMemoryError: Java heap space
      at com.ibm.icu.impl.UCharacterNameReader.read(UCharacterNameReader.java:90)

      I can reproduce it by adding a <argLine>-Xmx128m</argLine> option to the surefire plugin configuration in pdfbox/pom.xml. The same problem doesn't occur with 1.2.1.

      Attachments

        Issue Links

          Activity

            People

              jukkaz Jukka Zitting
              jukkaz Jukka Zitting
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: