[
https://issues.apache.org/jira/browse/LUCENE-4792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-4792:
---------------------------------
Attachment: LUCENE-4792.patch
Patch. I used RamUsageEstimator to estimate the memory savings depending on the
ratio of deleted documents on a segment of 100M docs (deleted docs are randomly
chosen):
|| Deletion ratio || Old size || New size ||
| 0.001|214.6 MB|32.2 MB|
| 0.01|250.3 MB|53.7 MB|
| 0.1|298 MB|71.3 MB|
| 0.3|309.9 MB|79.3 MB|
| 0.5|321.9 MB|80.8 MB|
| 0.7|309.9 MB|79.3 MB|
| 0.9|298 MB|71.3 MB|
| 0.99|250.3 MB|53.8 MB|
| 0.999|214.6 MB|32.3 MB|
> Smaller doc maps
> ----------------
>
> Key: LUCENE-4792
> URL: https://issues.apache.org/jira/browse/LUCENE-4792
> Project: Lucene - Core
> Issue Type: Improvement
> Affects Versions: 4.2
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-4792.patch
>
>
> MergeState.DocMap could leverage MonotonicAppendingLongBuffer to save memory.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]