You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Ace (JIRA)" <ji...@apache.org> on 2017/11/06 20:02:00 UTC

[jira] [Updated] (PDFBOX-3993) PDFTextStripper.writeText is slow

     [ https://issues.apache.org/jira/browse/PDFBOX-3993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ace updated PDFBOX-3993:
------------------------
    Attachment: sample-pdf.png

> PDFTextStripper.writeText is slow
> ---------------------------------
>
>                 Key: PDFBOX-3993
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3993
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 2.0.4
>            Reporter: Ace
>         Attachments: sample-pdf.png
>
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org