Re: Who's cleaning the Fieldcache?

2013-08-15 Thread Andrea Gazzarini
Hi Chris, Robert Thank you very much. First, answers to your questions: 1) which version of Solr are you using? 3.6.0 2) is it possibly you have multiple searchers open (ie: one in use while another one is warming up) when you're seeing these stats? No, no multiple searchers. Now, after

Who's cleaning the Fieldcache?

2013-08-14 Thread Andrea Gazzarini
After doing some replications (replicationOnOptimize) I see - on master filesystem files that belong to two segments (I suppose the oldest is just a commit point) - on master admin console (SolrIndexReader{this=4f2452c6,r=ReadOnlyDirectoryReader@4f2452c6,refCnt=1,*segments=**1*}) but on

Re: Who's cleaning the Fieldcache?

2013-08-14 Thread Chris Hostetter
: why? Those are my sort fields and they are occupying a lot of space (doubled : in this case but I see that sometimes I have three or four old segment : references) : : Is there something I can do to remove those old references? I tried to reload : the core and it seems the old references are

Re: Who's cleaning the Fieldcache?

2013-08-14 Thread Robert Muir
On Wed, Aug 14, 2013 at 5:29 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : why? Those are my sort fields and they are occupying a lot of space (doubled : in this case but I see that sometimes I have three or four old segment : references) : : Is there something I can do to remove

Re: Who's cleaning the Fieldcache?

2013-08-14 Thread Chris Hostetter
: FieldCaches are managed using a WeakHashMap - so once the IndexReader's : associated with those FieldCaches are no logner used, they will be garbage : collected when and if the JVMs garbage collector get arround to it. : : if they sit arround after you are done with them, they might look

Re: Who's cleaning the Fieldcache?

2013-08-14 Thread Robert Muir
On Wed, Aug 14, 2013 at 5:58 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : FieldCaches are managed using a WeakHashMap - so once the IndexReader's : associated with those FieldCaches are no logner used, they will be garbage : collected when and if the JVMs garbage collector get