Thanks Chris for the update. Right now we still having constant issue with our Production slaves. Do you think when I upgrade Solr to 1.3.0 this will fix the issue. I heard that in 1.3.0 there is parameter that you can set:
<queryResultMaxDocsCached>200</queryResultMaxDocsCached> Francis -----Original Message----- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Friday, June 19, 2009 5:49 PM To: 'solr-user@lucene.apache.org' Subject: RE: Java OutOfmemory error during autowarming : Date: Mon, 1 Jun 2009 11:34:08 -0700 : From: Francis Yakin : Subject: RE: Java OutOfmemory error during autowarming ... : When it is initialized for the first time, how can I change it? Frnacis, I'm not sure if you already figured this out, but the point of hte documentation that Chris refered you to is that it is a completley under the covers caching mechanism of Lucene on a per field basis -- there is no way to change it, or configure it. It's sized according to the number of documents in the index and the number of terms in the Field. If you execute an operation that requires Lucene to use that datastructure for a field, then Lucene will build it, and cache it for as long as the IndexReader is open. : -----Original Message----- : From: Chris Harris [mailto:rygu...@gmail.com] : Sent: Sunday, May 31, 2009 3:00 PM : To: solr-user@lucene.apache.org : Subject: Re: Java OutOfmemory error during autowarming : : Solr offers no configuration for FieldCache, neither in solrconfig.xml nor anywhere else; rather, that cache gets populated automatically in the depths of Lucene when you do a sort (or also apparently, as Yonik says, when you use a field in a function query). : : >From the wiki: 'Lucene has a low level "FieldCache" which is used for sorting (and in some cases faceting). This cache is not managed by Solr it has no configuration options and cannot be autowarmed -- it is initialized the first time it is used for each Searcher.' ( : http://wiki.apache.org/solr/SolrCaching) : : 2009/5/29 Francis Yakin <fya...@liquid.com> : : > : > I know, but the FieldCache is not in the solrconfig.xml : > : > : > -----Original Message----- : > From: Yonik Seeley [mailto:ysee...@gmail.com] : > Sent: Friday, May 29, 2009 10:47 AM : > To: solr-user@lucene.apache.org : > Subject: Re: Java OutOfmemory error during autowarming : > : > On Fri, May 29, 2009 at 1:44 PM, Francis Yakin <fya...@liquid.com> wrote: : > > : > > There is no "FieldCache" entries in solrconfig.xml ( BTW we are : > > running version 1.2.0) : > : > Lucene FieldCache entries are created when you sort on a field or when : > you use a field in a function query. : > : > -Yonik : > : -Hoss