[ 
https://issues.apache.org/jira/browse/TIKA-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16076480#comment-16076480
 ] 

Tim Allison commented on TIKA-2359:
-----------------------------------

We should make the warning a static-level-once-only warn, and the warning 
should be triggered on parse, not initialization.

I wanted to use the Initializable class for the warning, but this won't work in 
the case where someone excludes the tesseract parser.  We build an instance and 
then exclude it from the DefaultParser.  So, we have to lazily check if the 
warning has been given at parse time.

> Extreme slow parsing on the attachment attached
> -----------------------------------------------
>
>                 Key: TIKA-2359
>                 URL: https://issues.apache.org/jira/browse/TIKA-2359
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>            Reporter: Eugen Mayer
>         Attachments: Sample-doc-file-2000kb.doc
>
>
> i have 93s for parsing this document using 1.14 in server or in cli mode.
> Java:
> java version "1.8.0_121"
> Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
> debian-jessie, 8GB ram in a docker container, current xeon 3GHz, so decent (2 
> cores limited)



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

Reply via email to