Solr
  1. Solr
  2. SOLR-3486

The memory size of Solr caches should be configurable

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: search
    • Labels:
      None

      Description

      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.

      1. SOLR-3486.patch
        12 kB
        Adrien Grand
      2. SOLR-3486.patch
        13 kB
        Adrien Grand
      3. LFUMap.java
        5 kB
        Adrien Grand

        Activity

        Adrien Grand created issue -
        Adrien Grand made changes -
        Field Original Value New Value
        Attachment SOLR-3486.patch [ 12529161 ]
        Adrien Grand made changes -
        Attachment SOLR-3486.patch [ 12529696 ]
        Adrien Grand made changes -
        Attachment LFUMap.java [ 12529741 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Adrien Grand
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development