Re: IndexSearcher not being closed

2014-11-20 Thread Yonik Seeley
On Wed, Nov 19, 2014 at 8:37 AM, Priya Rodrigues wrote: > public void setContext( TransformContext context ) { > try { > IndexReader reader = qparser.getReq().getSearcher().getIndexReader(); > ->Refcount incremented You can get a searcher from the request as many times as you like... it

IndexSearcher not being closed

2014-11-19 Thread Priya Rodrigues
Hi, I am running into OOM errors on Solr 4.6. Our index size is quite small at 5000 documents and 75MB index size. While debugging this OOM, I found that the IndexSearcher Refcount is not coming down to 0 and hence the index searcher is not released on commits. We are using custom request handle