> -Xmx64m JVM parameter.

Is going to be far too low.  For example I always start at 1 GB and
move up from there.

On Tue, Dec 22, 2009 at 4:35 AM, c82famo
<ext_amouroux.frede...@agora.msa.fr> wrote:
>
> Hi,
>
> I'm facing some OutOfMemory issues with SOLR.
> Tomcat is started with a -Xmx64m JVM parameter.
> Tomcat manages 14 SOLR applications (not using multi-core : we're using SOLR
> 1.2).
>
> The SOLR application impacted manages an 500Mo index (ie 2500000 lucene
> documents).
>
> Here is catalina.out log :
> INFO: autowarming searc...@23d823d8 main from searc...@1ef21ef2 main
>
> queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=1,evictions=0,size=1,cumulative_lookups=1,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=1,cumulative_evictions=0}
> Dec 19, 2009 4:57:44 AM org.apache.solr.core.SolrException log
> SEVERE: Error during auto-warming of
> key:org.apache.solr.search.queryresult...@e2819933:java.lang.OutOfMemoryError
>        at
> org.apache.lucene.search.FieldCacheImpl$3.createValue(FieldCacheImpl.java:164)
>        at
> org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:72)
>        at 
> org.apache.lucene.search.FieldCacheImpl.getInts(FieldCacheImpl.java:154)
>        at 
> org.apache.lucene.search.FieldCacheImpl.getInts(FieldCacheImpl.java:148)
>        at
> org.apache.lucene.search.FieldSortedHitQueue.comparatorInt(FieldSortedHitQueue.java:204)
>        at
> org.apache.lucene.search.FieldSortedHitQueue$1.createValue(FieldSortedHitQueue.java:175)
>        at
> org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:72)
>        at
> org.apache.lucene.search.FieldSortedHitQueue.getCachedComparator(FieldSortedHitQueue.java:155)
>        at
> org.apache.lucene.search.FieldSortedHitQueue.<init>(FieldSortedHitQueue.java:56)
>        at
> org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:856)
>        at
> org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:805)
>        at
> org.apache.solr.search.SolrIndexSearcher.access$100(SolrIndexSearcher.java:60)
>        at
> org.apache.solr.search.SolrIndexSearcher$2.regenerateItem(SolrIndexSearcher.java:251)
>        at org.apache.solr.search.LRUCache.warm(LRUCache.java:193)
>        at
> org.apache.solr.search.SolrIndexSearcher.warm(SolrIndexSearcher.java:1385)
>        at org.apache.solr.core.SolrCore$1.call(SolrCore.java:488)
>        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:284)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>        at java.lang.Thread.run(Thread.java:810)
>
> I join the solrconfig.xml file ti this post.
>
> Thank you for your help.
>
> Frédéric http://old.nabble.com/file/p26887639/solrconfig.xml solrconfig.xml
> --
> View this message in context: 
> http://old.nabble.com/java.lang.OutOfMemoryError-while-autowarming-tp26887639p26887639.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Reply via email to