I recently had the same issue which could be fixed very easily. Add the property batchSize="-1" to your <dataSource>-tag.

Tell me if that helped.

Am 06.06.2013 11:30, schrieb Varsha Rani:
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.


Reply via email to