You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2009/12/04 00:46:21 UTC

[jira] Commented: (LUCENE-2106) Benchmark does not close its Reader when OpenReader/CloseReader are not used

    [ https://issues.apache.org/jira/browse/LUCENE-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785642#action_12785642 ] 

Mark Miller commented on LUCENE-2106:
-------------------------------------

I'll commit this in a day or two.

> Benchmark does not close its Reader when OpenReader/CloseReader are not used
> ----------------------------------------------------------------------------
>
>                 Key: LUCENE-2106
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2106
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/benchmark
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 3.0.1, 3.1
>
>         Attachments: LUCENE-2106.patch
>
>
> Only the Searcher is closed, but because the reader is passed to the Searcher, the Searcher does not close the Reader, causing a resource leak.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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