You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/09/16 14:51:00 UTC

[jira] [Commented] (SOLR-9658) Caches should have an optional way to clean if idle for 'x' mins

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

ASF subversion and git services commented on SOLR-9658:
-------------------------------------------------------

Commit e04917dc9f66bad9cebfc945cac7f39f5ff1f0c2 in lucene-solr's branch refs/heads/master from Andrzej Bialecki
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=e04917d ]

SOLR-9658: Max idle time support for SolrCache implementations.


> Caches should have an optional way to clean if idle for 'x' mins
> ----------------------------------------------------------------
>
>                 Key: SOLR-9658
>                 URL: https://issues.apache.org/jira/browse/SOLR-9658
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Noble Paul
>            Assignee: Andrzej Bialecki 
>            Priority: Major
>             Fix For: 8.3
>
>         Attachments: SOLR-9658.patch, SOLR-9658.patch, SOLR-9658.patch, SOLR-9658.patch, SOLR-9658.patch, SOLR-9658.patch
>
>
> If a cache is idle for long, it consumes precious memory. It should be configurable to clear the cache if it was not accessed for 'x' secs. The cache configuration can have an extra config {{maxIdleTime}} . if we wish it to the cleaned after 10 mins of inactivity set it to {{maxIdleTime=600}}. [~dragonsinth] would it be a solution for the memory leak you mentioned?



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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