Maruan Sahyoun commented on PDFBOX-3503:

Could you try with pdfbox-app-2.0.3.jar. That should resolve the issue. 
Unfortunately I can't remember the issue this related to. I'll add it later as 
soon as I find it but there was a performance regression in 2.0.2.

> 2.0 much slower than 1.8 for text extraction with certain PDF files
> -------------------------------------------------------------------
>                 Key: PDFBOX-3503
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3503
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>         Environment: Windows 2012 R2, Oracle Java 1.8.0_91 64-bit
>            Reporter: Andy McMullan
>         Attachments: 074031.pdf
> While testing Tika 1.13 we've hit a performance problem with PDF conversion 
> to text for certain files from the GovDocs corpus.
> I have attached an example PDF that shows the problem.  The problem can be 
> reproduced using pdxbox-app.jar.  Running the extraction with 1.8.12 takes 
> around 1 second:
> java -jar pdfbox-app-1.8.12.jar ExtractText 074031.pdf 074031.pdf.txt
> Doing the same with 2.0.2 takes around 30 seconds:
> java -jar pdfbox-app-2.0.2.jar ExtractText 074031.pdf 074031.pdf.txt
> This is a small PDF so taking 30 seconds seems excessive.

This message was sent by Atlassian JIRA

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

Reply via email to