You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2017/01/20 15:33:26 UTC

[jira] [Commented] (LUCENE-7647) CompressingStoredFieldsFormat should reclaim memory more aggressively

    [ https://issues.apache.org/jira/browse/LUCENE-7647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15831953#comment-15831953 ] 

Robert Muir commented on LUCENE-7647:
-------------------------------------

What does it do to performance to create a deflater instance every time? This seems very inefficient.

> CompressingStoredFieldsFormat should reclaim memory more aggressively
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-7647
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7647
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>         Attachments: LUCENE-7647.patch
>
>
> When stored fields are configured with {{BEST_COMPRESSION}}, we rely on garbage collection to reclaim Deflater/Inflater instances. However these classes use little JVM memory but may use significant native memory, so if may happen that the OS runs out of native memory before the JVM collects these unreachable Deflater/Inflater instances. We should look into reclaiming native memory more aggressively.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org