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/06/16 13:40:01 UTC
[jira] [Updated] (LUCENE-5765) Add tests to OrdinalMap.ramBytesUsed
[ https://issues.apache.org/jira/browse/LUCENE-5765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand updated LUCENE-5765:
---------------------------------
Attachment: LUCENE-5765.patch
Here is a patch. I added the ability to exclude some fields from RamUsageTester in order to exclude the OrdinalMap's owner from the ram usage estimation.
> Add tests to OrdinalMap.ramBytesUsed
> ------------------------------------
>
> Key: LUCENE-5765
> URL: https://issues.apache.org/jira/browse/LUCENE-5765
> Project: Lucene - Core
> Issue Type: Test
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: 4.9, 5.0
>
> Attachments: LUCENE-5765.patch
>
>
> I noticed it doesn't take into account the shallow size of the {{ordDeltas}} array (I would not expect it to be a big deal, but still it's better to have it tested).
--
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