lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (LUCENE-5695) Add DocIdSet.ramBytesUsed
Date Sat, 14 Jun 2014 01:38:02 GMT


ASF subversion and git services commented on LUCENE-5695:

Commit 1602540 from [~jpountz] in branch 'dev/branches/branch_4x'
[ ]

LUCENE-5695: Fix 4.x merge: default implementation should be to throw an exception!

Looks like somehow my fingers disagreed with my head when merging.

> Add DocIdSet.ramBytesUsed
> -------------------------
>                 Key: LUCENE-5695
>                 URL:
>             Project: Lucene - Core
>          Issue Type: New Feature
>    Affects Versions: 4.9, 5.0
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-5695.patch, LUCENE-5695.patch, LUCENE-5695.patch
> LUCENE-5463 tried to remove calls to {{RamUsageEstimator.sizeOf(Object)}} yet it was
not always possible to remove the call when there was no other API to compute the memory usage
of a particular class. In particular, this is the case for {{CachingWrapperFilter.sizeInBytes()}}
that needs to be able to get the memory usage of any cacheable {{DocIdSet}} instance.
> We could add {{DocIdSet.ramBytesUsed}} in order to remove the need for {{RamUsageEstimator}}.
This will also help have bounded filter caches and take the size of the cached doc id sets
into account when doing evictions.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message