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

PDFTextStripper.writeText is slow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.0.4
    • None
    • Text extraction
    • None

    Description

      I see this problem has been posted about two years before, and the poster said it has been fixed in 2.0.0 version, but now I face this problem when I try to parse a pdf file with image in it. I also add logs before and after PDFTextStripper.writeText to mark the time spend, it looks like it takes quite long to writeText to a StringWriter (sometimes 15s+ for a 220K pdf file with image in it). The running environment is in our production server but not local.

      Attachments

        1. sample-pdf.pdf
          214 kB
          Ace

        Activity

          People

            Unassigned Unassigned
            zhenqi696 Ace
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: