MetricRegistry instances for transient cores are not getting GC'd
This post was updated on .
I took a heap dump when Solr heap usage kept growing to 32GB and comes down
to 15GB after GC.
Heap dump analysis shows there are MetricRegistry instances for transient
cores.i.e., cores with "isLoaded" as false in STATUS output.
My environment is as follows
* Solr 7.2.1 in standalone mode.
* 32GB heap
* 150 cores with data getting continuously ingested to ~10 cores and all of
the cores queried.
* transient cache size is set to 30.
The solr.xml is as follows
<?xml version="1.0" encoding="UTF-8" ?>