You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 05:48:25 UTC
[jira] [Updated] (LUCENE-3924) Optimize buffer size handling in
RAMDirectory to make it more GC friendly
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org