[ 
https://issues.apache.org/jira/browse/LUCENE-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478594
 ] 

Michael McCandless commented on LUCENE-686:
-------------------------------------------

I just committed some fixes in LUCENE-823 that could apply here.  Specifically 
if we decide that clones should be called, then, MockRAMDirectory is setup to 
track that they in fact are closed (we would have to turn it on; right now it 
does not track clones).

> Resources not always reclaimed in scorers after each search
> -----------------------------------------------------------
>
>                 Key: LUCENE-686
>                 URL: https://issues.apache.org/jira/browse/LUCENE-686
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>         Environment: All
>            Reporter: Ning Li
>         Attachments: ScorerResourceGC.patch
>
>
> Resources are not always reclaimed in scorers after each search.
> For example, close() is not always called for term docs in TermScorer.
> A test will be attached to show when resources are not reclaimed.

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

Reply via email to