RE: OutOfMemory when initializing MMapIndexInput on lucene 3.6.2

2014-08-21 Thread Uwe Schindler
settings for ulimit and other sysctls. > Changing the chunk size does not help on 64 bit platforms, it should be 1 GiB > there. > > Uwe > > - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Orig

Re: OutOfMemory when initializing MMapIndexInput on lucene 3.6.2

2014-08-21 Thread craiglang44
* Sent from my BlackBerry® smartphone -Original Message- From: Shlomit Rosen Date: Thu, 21 Aug 2014 10:03:46 To: Reply-To: java-user@lucene.apache.org Subject: RE: OutOfMemory when initializing MMapIndexInput on lucene 3.6.2 Thank you very much for the quick reply :) Just got a word

RE: OutOfMemory when initializing MMapIndexInput on lucene 3.6.2

2014-08-21 Thread Shlomit Rosen
t;Uwe Schindler" To: , Date: 18/08/2014 02:50 PM Subject: RE: OutOfMemory when initializing MMapIndexInput on lucene 3.6.2 Hi, For a full description of Lucene & MMap, see: http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html Quote: "How to con

RE: OutOfMemory when initializing MMapIndexInput on lucene 3.6.2

2014-08-18 Thread Uwe Schindler
should be 1 GiB there. Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Harald Kirsch [mailto:harald.kir...@raytion.com] > Sent: Monday, August 18, 2014 1:19 PM > To: java-user@lucene.apac

Re: OutOfMemory when initializing MMapIndexInput on lucene 3.6.2

2014-08-18 Thread Harald Kirsch
ulimit -v unlimited might help, see http://stackoverflow.com/questions/8892143/error-when-opening-a-lucene-index-map-failed Harald. On 18.08.2014 13:10, Shlomit Rosen wrote: Hi all, Using lucene 3.6.2, we are trying to search a pretty small collection. To open the directory we use Mmap since

OutOfMemory when initializing MMapIndexInput on lucene 3.6.2

2014-08-18 Thread Shlomit Rosen
Hi all, Using lucene 3.6.2, we are trying to search a pretty small collection. To open the directory we use Mmap since we are running on a 64 bit linux machine, and we usually get much better results than using SimpleFS or NIO. Although the collection is only a few GB in size, we are getting