Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13003

Query Result Cache does not honour maxRamBytes parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 7.3.1
    • 8.2
    • None
    • None

    Description

      When using the maxRamBytes parameter with the queryResultCache directive, we have seen the retained size of the cache orders of magnitude larger than what is configured.

      Please see attached VisualVM output which shows the retained size is about 1.5gb, but the maxRamBytes is set to 64mb.

      Attachments

        1. SOLR-13003.patch
          46 kB
          Andrzej Bialecki
        2. solr-core-7.3.1-SNAPSHOT.jar
          4.96 MB
          Shawn Heisey
        3. CLRU-logging.patch
          3 kB
          Shawn Heisey
        4. lrucacheexpanded.png
          140 kB
          Cetra Free
        5. solrconfig.xml
          53 kB
          Cetra Free
        6. lrucachemaxmb.png
          92 kB
          Cetra Free

        Issue Links

          Activity

            People

              ab Andrzej Bialecki
              cetra3 Cetra Free
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: