Hi, We are using Solr 4.6.1 in our application and have written some custom plugins/components at many places. We are facing a issue and needed your views for debugging the same.
Issue: After application starts up, after sometime, we see multiple searchers opened for the same core ( we have seen 3/4/5 and more searchers as well). Each searcher consumes its own memory for the caches and ultimately the app runs out of memory. We have reviewed initially in our custom code and have seen that in almost all places (like SolrEventListeners ) where we get SolrIndexSearcher reference from Solr code, we get it as a raw object rather than a RefCounted, so the chances of this being a case of forgetting to decrement a RefCounted after use are low. I wanted to check with you if you can help with ideas for debugging the issue (possible points where a searcher might have leaked from Solr to user code) as it is badly affecting our production systems. Thanks, Dhritiman