You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/11/11 18:42:58 UTC
[jira] [Commented] (LUCENE-7547) JapaneseTokenizerFactory opens
dictionary file but never closes it again
[ https://issues.apache.org/jira/browse/LUCENE-7547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15657776#comment-15657776 ]
ASF subversion and git services commented on LUCENE-7547:
---------------------------------------------------------
Commit bd6c0523c2de09250ff07db6e4a21227bd143ea2 in lucene-solr's branch refs/heads/master from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=bd6c052 ]
LUCENE-7547: close the dictionary file so we don't leak file handles
> JapaneseTokenizerFactory opens dictionary file but never closes it again
> ------------------------------------------------------------------------
>
> Key: LUCENE-7547
> URL: https://issues.apache.org/jira/browse/LUCENE-7547
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/analysis
> 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