[
https://issues.apache.org/jira/browse/LUCENE-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler closed LUCENE-3924.
---------------------------------
> Optimize buffer size handling in RAMDirectory to make it more GC friendly
> -------------------------------------------------------------------------
>
> Key: LUCENE-3924
> URL: https://issues.apache.org/jira/browse/LUCENE-3924
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/store
> Affects Versions: 4.0-ALPHA
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
> Priority: Major
>
> RAMDirectory currently uses a fixed buffer size of 1024 bytes to allocate
> memory. This is very wasteful for large indexes. Improvements may be:
> - per file buffer sizes based on IOContext and maximum segment size
> - allocate only one buffer for files that are copied from another directory
> - dynamically increae buffer size when files grow (makes seek() complicated)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]