You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2016/11/11 18:44:58 UTC

[jira] [Resolved] (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:all-tabpanel ]

Michael McCandless resolved LUCENE-7547.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 6.4
                   master (7.0)

Thanks [~nabucko], I pushed a fix.

> 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), 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.4#6332)

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