Hi, As per suggestions , changed in my config file as : reduced document cache size from 31067 to 16384 and autowarmcount from 2046 to 1024.
My machine RAM size is 16GB , 1 GB RAM used as index of 85GB started. my config file as : <ramBufferSizeMB>128</ramBufferSizeMB> <filterCache class="solr.FastLRUCache" size="16384" initialSize="4096" autowarmCount="1024" cleanupThread="true"/> <queryResultCache class="solr.FastLRUCache" size="16384" initialSize="4096" autowarmCount="1024" cleanupThread="true"/> <documentCache class="solr.FastLRUCache" size="16384" initialSize="4096" autowarmCount="1024" cleanupThread="true"/> I am running 20-25 mlt queries in 1 sec . As with each mlt query RAM used increases continuously. As RAM used reached to 6GB, java heap space problem occur. With each 5 continuous mlt queries RAM used increased by 1GB. -- View this message in context: http://lucene.472066.n3.nabble.com/Heap-space-problem-with-mlt-query-tp4068278p4068541.html Sent from the Solr - User mailing list archive at Nabble.com.