[
https://issues.apache.org/jira/browse/SOLR-7371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14487609#comment-14487609
]
Shalin Shekhar Mangar commented on SOLR-7371:
---------------------------------------------
Okay, that makes sense.
Your patch has the following in BitDocSet, is this a copy/paste mistake?
{code}
- private static final long BASE_RAM_BYTES_USED =
RamUsageEstimator.shallowSizeOfInstance(BitDocSet.class);
+ private static final long BASE_RAM_BYTES_USED =
RamUsageEstimator.shallowSizeOfInstance(SortedIntDocSet.class) +
RamUsageEstimator.NUM_BYTES_ARRAY_HEADER;
{code}
> Make DocSet Accountable
> -----------------------
>
> Key: SOLR-7371
> URL: https://issues.apache.org/jira/browse/SOLR-7371
> Project: Solr
> Issue Type: Improvement
> Reporter: Shalin Shekhar Mangar
> Assignee: Yonik Seeley
> Fix For: Trunk, 5.2
>
> Attachments: SOLR-7371.patch, SOLR-7371.patch
>
>
> Make DocSet implement Accountable so that we can correctly estimate memory
> usage.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]