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

Adrien Grand commented on LUCENE-5197:
--------------------------------------

I was thinking about RamUsageEstimator but it has some pitfalls too I think. 
For example, RAMInputStream has a link to RAMFile which in turns has a link to 
the RAMDirectory. So every time you would run RamUsageEstimator on a format 
producer, you would take into account the whole directory size?
                
> Add a method to SegmentReader to get the current index heap memory size
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-5197
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5197
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/codecs, core/index
>            Reporter: Areek Zillur
>         Attachments: LUCENE-5197.patch
>
>
> It would be useful to at least estimate the index heap size being used by 
> Lucene. Ideally a method exposing this information at the SegmentReader level.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to