[
https://issues.apache.org/jira/browse/LUCENE-7547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15857786#comment-15857786
]
ASF subversion and git services commented on LUCENE-7547:
---------------------------------------------------------
Commit 28d405c2d581c2ecbda89afd33e8b05a313a8e17 in lucene-solr's branch
refs/heads/branch_5_5 from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=28d405c ]
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
> Fix For: master (7.0), 5.5.4, 6.4
>
>
> 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.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]