Are you using IndexReader.reopen to open those new searchers? Can you capture a memory dump when GC kicks in? I'd be curious to see where all the "new" garbage is coming from... I don't think 2.3.2 -> 2.9.2 should be generating more garbage.
Mike On Thu, Mar 25, 2010 at 3:55 PM, Siraj Haider <si...@jobdiva.com> wrote: > Indexing happens in a different thread on intervals. I open a new > IndexWriter for each indexing session. After indexing session if there is a > modification in the index I close the searcher and open a new one. I have > two searchers that I flip flop when opening an index. > > On 3/25/2010 3:26 PM, Michael McCandless wrote: >> >> How do you reopen your searchers after indexing? >> >> Do you keep a single IW open for all time? >> >> Mike >> >> On Thu, Mar 25, 2010 at 3:11 PM, Siraj Haider<si...@jobdiva.com> wrote: >> >>> >>> Indexing happen with frequent intervals on our indexes, but I think >>> searching is the cause of the issue, because as soon as the indexes are >>> hit >>> with a lot of searches, the gc cycles become more frequent. >>> >>> -siraj >>> >>> On 3/24/2010 5:19 PM, Michael McCandless wrote: >>> >>>> >>>> Is this during indexing or searching? >>>> >>>> Mike >>>> >>>> On Wed, Mar 24, 2010 at 3:45 PM, Grant Ingersoll<gsing...@apache.org> >>>> wrote: >>>> >>>> >>>>> >>>>> On Mar 24, 2010, at 2:13 PM, Siraj Haider wrote: >>>>> >>>>> >>>>> >>>>>> >>>>>> We upgraded to 2.9.2 from 2.3.2 and the garbage collection performance >>>>>> deteriorated drastically. The system is going to Full GC cycles with >>>>>> long >>>>>> pauses very frequently. Did something got changed that we need to >>>>>> account >>>>>> for? >>>>>> >>>>>> >>>>> >>>>> Yes, quite a bit has changed under the hood between those two versions. >>>>> CHANGES.txt is probably the best place to start. Otherwise, more info >>>>> is >>>>> needed to figure out what is going on. >>>>> >>>>> >>>>> >>>>>> >>>>>> thanks in advance >>>>>> -siraj >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org >>>>>> For additional commands, e-mail: java-user-h...@lucene.apache.org >>>>>> >>>>>> >>>>>> >>>>> >>>>> -------------------------- >>>>> Grant Ingersoll >>>>> http://www.lucidimagination.com/ >>>>> >>>>> Search the Lucene ecosystem using Solr/Lucene: >>>>> http://www.lucidimagination.com/search >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org >>>>> For additional commands, e-mail: java-user-h...@lucene.apache.org >>>>> >>>>> >>>>> >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org >>>> For additional commands, e-mail: java-user-h...@lucene.apache.org >>>> >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org >>> For additional commands, e-mail: java-user-h...@lucene.apache.org >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org >> For additional commands, e-mail: java-user-h...@lucene.apache.org >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org