[
https://issues.apache.org/jira/browse/LUCENE-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13657501#comment-13657501
]
Simon Willnauer commented on LUCENE-4995:
-----------------------------------------
I think the biggest issue from my perspective here is that some docs might be
very large and once they are loaded the thread-local will hold on to
potentially way too large buffers. I mean maybe we can adjust this based on the
average doc size or something here that we reuse in the common case and
re-allocate in the exceptional case? just and idea though...
> Remove the strong reference of CompressingStoredFieldsReader on the
> decompression buffer
> ----------------------------------------------------------------------------------------
>
> Key: LUCENE-4995
> URL: https://issues.apache.org/jira/browse/LUCENE-4995
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Attachments: LUCENE-4995.patch
>
>
> CompressingStoredFieldsReader has a strong reference on the buffer it uses
> for decompression. Although it makes the reader able to reuse this buffer,
> this can trigger high memory usage in case some documents are very large.
> Creating this buffer on demand would help give memory back to the JVM.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]