[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to