You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2012/05/25 07:47:23 UTC

[jira] [Commented] (SOLR-3486) The memory size of Solr caches should be configurable

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

Shawn Heisey commented on SOLR-3486:
------------------------------------

This is an awesome idea.  SOLR-3393 is a new implementation of LFUCache, I'll have to figure out how to include this, unless you want to give it a try.
                
> The memory size of Solr caches should be configurable
> -----------------------------------------------------
>
>                 Key: SOLR-3486
>                 URL: https://issues.apache.org/jira/browse/SOLR-3486
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>            Reporter: Adrien Grand
>            Priority: Minor
>         Attachments: SOLR-3486.patch
>
>
> It is currently possible to configure the sizes of Solr caches based on the number of entries of the cache. The problem is that the memory size of cached values may vary a lot over time (depending on IndexReader.maxDoc and the queries that are run) although the JVM heap size does not.
> Having a configurable max size in bytes would also help optimize cache utilization, making it possible to store more values provided that they have a small memory footprint.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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