[
https://issues.apache.org/jira/browse/LUCENE-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated LUCENE-3924:
---------------------------------
Fix Version/s: (was: 4.7)
4.8
> 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
> Fix For: 4.8
>
>
> 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
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]