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

Tim Allison commented on TIKA-2515:
-----------------------------------

[~gagravarr], I suspect this is a duplicate of TIKA-2520, and we should look 
into caching the language models so that we're not loading them for each 
file... in >1.17 :)

> Sending a 3 character text file to tika server takes 1-2 seconds to process
> ---------------------------------------------------------------------------
>
>                 Key: TIKA-2515
>                 URL: https://issues.apache.org/jira/browse/TIKA-2515
>             Project: Tika
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 1.16
>            Reporter: Tibor Erdélyi
>
> If a text file is sent to Tika server on localhost containing 3 character 
> only (http://localhost:9998/rmeta/text) it takes about 1-2 seconds, while 
> real processing takes only about 30 msec.
> Processing time difference is caused by constructor of LanguageHandler class 
> called in RecursiveMetadataResource.parseMetadata method. Is it needed to 
> create a new instance of this class for each request?



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

Reply via email to