[
https://issues.apache.org/jira/browse/LUCENE-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler updated LUCENE-3924:
----------------------------------
Fix Version/s: (was: 4.3)
4.4
> 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.4
>
>
> 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 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]