Adrien Grand created LUCENE-9483:
------------------------------------

             Summary: Disable per-thread caching of buffers for stored fields
                 Key: LUCENE-9483
                 URL: https://issues.apache.org/jira/browse/LUCENE-9483
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Adrien Grand


Stored fields currently cache buffers that are used to decompress data. However 
with one buffer per thread per segment, these buffers can start using 
non-negligible amounts of data.

I think we should keep them for merges, but either remove them completely for 
regular reads, or sharing them across all segments. As I'd like to avoid 
relying on global threadlocals, I'm leaning towards removing them.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to