I don't think that'll work anymore (it used to with old versions of Lucene). Hmm but which underlying Lucene version are you using?
I don't otherwise know how to configure it -- anyone else? You should also go and vote on the underlying Sun (Oracle!) bug that falsely bottlenecks threads sharing an NIOFSDir on Windows: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6265734 It's been open for almost 5 years now, and is accepted as a bug... Mike On Tue, Apr 27, 2010 at 2:34 PM, Giovanni Fernandez-Kincade <gfernandez-kinc...@capitaliq.com> wrote: > I was considering it, but we're already tight on memory usage. How do you > configure Solr to use it? Is this correct? > > http://www.mail-archive.com/solr-user@lucene.apache.org/msg28574.html > >> So, start your servlet container with >> -Dorg.apache.lucene.FSDirectory.class=org.apache.lucene.store.MMapDirectory > > > -----Original Message----- > From: Michael McCandless [mailto:luc...@mikemccandless.com] > Sent: Tuesday, April 27, 2010 2:28 PM > To: solr-user@lucene.apache.org > Subject: Re: FSDirectory Synchronization Issues > > Try MMapDirectory? > > Mike > > On Tue, Apr 27, 2010 at 2:09 PM, Giovanni Fernandez-Kincade > <gfernandez-kinc...@capitaliq.com> wrote: >> Hello, >> I'm encountering a lot of contention around >> SimpleFSDirectory$SimpleFSIndexInput.readInternal, pretty much identical to >> what this user described back in 2008: >> http://www.mail-archive.com/solr-user@lucene.apache.org/msg15516.html >> >> I also found this JIRA issue, where it appears that the concurrency benefits >> of the NIOReader could not be achieved in Windows due to a bug in the JVM: >> https://issues.apache.org/jira/browse/LUCENE-753 >> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6265734 >> >> Is this still the case (seems to be based on the above links)? Are there >> other options for reducing this contention in Windows (specifically Windows >> Server 2008 x64)? >> >> Thanks in advance, >> Gio. >> >> >> >