Re: Using MMapDirectory

2009-07-07 Thread Marc Sturlese
using MMap) tomcat will keep the files of the old index as "deleted" and will not free them until a full garbage collection is done. Increasing to 6 cores in the box I am experience some trouble (not enough memory). Otis Gospodnetic wrote: > > > Is there a benefit to using MMapDir

Re: Using MMapDirectory

2009-07-06 Thread Otis Gospodnetic
Is there a benefit to using MMapDirectory instead of, say, tmpfs (RAM disk) under Linux? Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Mark Miller > To: solr-user@lucene.apache.org > Sent: Monday, July 6, 2009 9:28:43 AM >

Re: Using MMapDirectory

2009-07-06 Thread Mark Miller
Marc Sturlese wrote: Hey there, For testing purpose I am trying to use lucene's MMapDirectory in a recent Solr nightly instance. I have read in Lucene's documentation: "To use MMapDirectory, invoke Java with the System property org.apache.lucene.FSDirectory.class set to org.apache.lucene.store.M

Using MMapDirectory

2009-07-06 Thread Marc Sturlese
Directory. This will cause FSDirectory.getDirectory(File,boolean) to return instances of this class. " Do I have to change something in solrconfig.xml or modifying system property is just enough? Thanks in advance. -- View this message in context: http://www.nabble.com/Using-MMapDirectory-tp24

Re: Using MMapDirectory instead of FSDirectory

2007-08-21 Thread Chris Hostetter
: Is there a way to use a MMapDirectory instead of FSDirectory within Solr ? i'm not very familiar with MMapDirectory but according to the javadocs... To use this, invoke Java with the System property org.apache.lucene.FSDirectory.class set to org.apache.lucene.store.MM

Using MMapDirectory instead of FSDirectory

2007-08-21 Thread Jérôme Etévé
Hi ! Is there a way to use a MMapDirectory instead of FSDirectory within Solr ? Our index is quite big and It takes a long time to go up in the OS cached memory. I'm wondering if an MMapDirectory could help to have our data in memory quicker (our index on disk is bigger than our memory availabl