[
https://issues.apache.org/jira/browse/SOLR-7371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14487747#comment-14487747
]
Yonik Seeley commented on SOLR-7371:
------------------------------------
bq. then we add an array header size which includes an object reference size
too.
I don't think it does?
{code}
NUM_BYTES_ARRAY_HEADER = (int) alignObjectSize(NUM_BYTES_OBJECT_HEADER +
NUM_BYTES_INT);
{code}
So the array header is just a specialized object header since an array also
contains a length.
> 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]