Re: SegmentReader retaining memory

2009-06-23 Thread Michael McCandless
I agree we should do something about this. Actually I think we should simply remove finalize() from Directory[Index]Reader. Can you open a Jira issue? Thanks. Mike On Mon, Jun 22, 2009 at 6:32 PM, Groose, Brian wrote: > In the application I'm working on, I'm opening a new index every 15-20 > m

SegmentReader retaining memory

2009-06-22 Thread Groose, Brian
In the application I'm working on, I'm opening a new index every 15-20 minutes. This is done by opening the new index and then closing the old index. Opening one of these indexes, about 58GB on disk, appears to use about 700MB of memory based on some simple testing. I am passing -Xmx3072m to the