Re: extensive minor garbage collection when using RAMDirectory on Lucune 3.6.2

2013-01-15 Thread Michael McCandless
RAMDirectory generally has high GC cost for a large index because it always allocates byte[1024] as its "pages". See eg http://blog.mikemccandless.com/2012/07/lucene-index-in-ram-with-azuls-zing-jvm.html But, you are hitting lots of new gen garbage, which is different. ExactPhraseScorer is new f

Re: extensive minor garbage collection when using RAMDirectory on Lucune 3.6.2

2013-01-09 Thread Alon Muchnick
attaching the second screen shot of live recorded objects . thanks again Alon On Wed, Jan 9, 2013 at 7:34 PM, Alon Muchnick wrote: > hi , > after upgrading to Lucune 3.6.2 i noticed there is an extensive minor > garbage collection operations. once or twice a second , and the amount of > memor

Fwd: extensive minor garbage collection when using RAMDirectory on Lucune 3.6.2

2013-01-09 Thread Alon Muchnick
hi , after upgrading to Lucune 3.6.2 i noticed there is an extensive minor garbage collection operations. once or twice a second , and the amount of memory being freed is about 600 MB each time for a load of 60 searches per second : 2013-01-09T18:57:24.350+0200: 174200.121: [GC [PSYoungGen: 630064