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 - Java Issue Type: Improvement Components: core/store Affects Versions: 4.0 Reporter: Uwe Schindler Assignee: Uwe Schindler Fix For: 4.0 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org