You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Markus (JIRA)" <ji...@apache.org> on 2016/11/09 12:01:59 UTC

[jira] [Updated] (SOLR-9742) JapaneseTokenizerFactory opens dictionary file but never closes it again

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

Markus updated SOLR-9742:
-------------------------
    Description: 
JapaneseTokenizerFactory opens dictionary file in line 130
InputStream stream = loader.openResource(userDictionaryPath);
but never closes it again.
This leads to too many open files after after a couple of query executions.

  was:
JapaneseTokenizerFactory opens dictionary file in line 130 `InputStream stream = loader.openResource(userDictionaryPath);`but never closes it again.
This leads to too many open files after after a couple of query executions.


> JapaneseTokenizerFactory opens dictionary file but never closes it again
> ------------------------------------------------------------------------
>
>                 Key: SOLR-9742
>                 URL: https://issues.apache.org/jira/browse/SOLR-9742
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Schema and Analysis
>    Affects Versions: 6x
>            Reporter: Markus
>
> JapaneseTokenizerFactory opens dictionary file in line 130
> InputStream stream = loader.openResource(userDictionaryPath);
> but never closes it again.
> This leads to too many open files after after a couple of query executions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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