You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2014/05/30 09:37:02 UTC

[jira] [Resolved] (LUCENE-5700) Add 'accountable' interface for various ramBytesUsed

     [ https://issues.apache.org/jira/browse/LUCENE-5700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand resolved LUCENE-5700.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.9
         Assignee: Adrien Grand

Committed. Thanks Robert and Dawid for the feedback!

> Add 'accountable' interface for various ramBytesUsed
> ----------------------------------------------------
>
>                 Key: LUCENE-5700
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5700
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Assignee: Adrien Grand
>             Fix For: 4.9, 5.0
>
>         Attachments: LUCENE-5700.patch
>
>
> Currently this is a disaster. there is ramBytesUsed(), sizeInBytes(), etc etc everywhere, with zero consistency, little javadocs, and no structure. For example, look at LUCENE-5695, where we go back and forth on how to handle "don't know". 
> I don't think we should add any more of these methods to any classes in lucene until this has been cleaned up.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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