You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Adrien Grand (Jira)" <ji...@apache.org> on 2020/09/03 10:58:00 UTC

[jira] [Resolved] (LUCENE-9483) Disable per-thread caching of buffers for stored fields

     [ https://issues.apache.org/jira/browse/LUCENE-9483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Grand resolved LUCENE-9483.
----------------------------------
    Resolution: Fixed

> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org