lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudarsan, Sithu D." <Sithu.Sudar...@fda.hhs.gov>
Subject RE: java.lang.OutOfMemoryError while autowarming
Date Tue, 22 Dec 2009 19:56:03 GMT
 
I'll recommend setting -Xms and -Xmx to the same value.


Sincerely,
Sithu D Sudarsan

-----Original Message-----
From: Jason Rutherglen [mailto:jason.rutherglen@gmail.com] 
Sent: Tuesday, December 22, 2009 2:31 PM
To: solr-user@lucene.apache.org
Subject: Re: java.lang.OutOfMemoryError while autowarming

> -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.frederic@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 Searcher@23d823d8 main from Searcher@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.QueryResultKey@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.
>
>

Mime
View raw message