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
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
>
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
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
: 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
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