[ https://issues.apache.org/jira/browse/LUCENE-9483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17190009#comment-17190009 ]
ASF subversion and git services commented on LUCENE-9483: --------------------------------------------------------- Commit b331eb61703f4e2ebdc4cde11938cb710c603246 in lucene-solr's branch refs/heads/branch_8x from Adrien Grand [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=b331eb6 ] LUCENE-9483: Disable per-thread caching of buffers for decompression of stored fields. (#1787) These buffers can use lots of memory when the number of segments, threads or both is high. > 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 > Priority: Minor > Fix For: 8.7 > > Time Spent: 20m > Remaining Estimate: 0h > > 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