lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Blum (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-9658) Caches should have an optional way to clean if idle for 'x' mins
Date Tue, 18 Oct 2016 17:17:58 GMT

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

Scott Blum commented on SOLR-9658:
----------------------------------

That would be awesome, I believe that would work.

Related question: do you have insight into why doesn't auto soft commit wouldn't be clearing
caches already?  Assuming I don't want auto warmed queries, I might naively think that an
auto soft commit should have the effect of evicting caches since it would invalidate the results.
 Do you know why that doesn't seem to happen?

> 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
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>
> 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
(v6.3.4#6332)

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


Mime
View raw message