Re: RAMDirectory unexpectedly slows

2012-06-30 Thread Michael McCandless
t; >> This is managed by your operating system. In general OS kernels like >> Linux >> >> or Windows use all free memory to cache disk accesses. >> >> >> >> - >> >> Uwe Schindler >> >> H.-H.-Meier-Allee 63, D-28213 Bremen &

Re: RAMDirectory unexpectedly slows

2012-06-30 Thread Cheng
like > Linux > >> or Windows use all free memory to cache disk accesses. > >> > >> - > >> Uwe Schindler > >> H.-H.-Meier-Allee 63, D-28213 Bremen > >> http://www.thetaphi.de > >> eMail: u...@thetaphi.de > >> > >

Re: RAMDirectory unexpectedly slows

2012-06-18 Thread Cheng
;> H.-H.-Meier-Allee 63, D-28213 Bremen > >> http://www.thetaphi.de > >> eMail: u...@thetaphi.de > >> > >> > >> > -Original Message- > >> > From: Cheng [mailto:zhoucheng2...@gmail.com] > >> > Sent: Monda

Re: RAMDirectory unexpectedly slows

2012-06-18 Thread Michael McCandless
> > j...@basetechnology.com >> > > > >wrote: >> > > > > >> > > > >> From the javadoc for RAMDirectory: >> > > > >> >> > > > >> "Warning: This class is not intended to work with huge indexes. >>

Re: RAMDirectory unexpectedly slows

2012-06-16 Thread Cheng
hetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Cheng [mailto:zhoucheng2...@gmail.com] > > Sent: Monday, June 04, 2012 6:10 PM > > To: java-user@lucene.apache.org > > Subject: Re: RAMDirectory unexpectedly slows > >

RE: RAMDirectory unexpectedly slows

2012-06-04 Thread Uwe Schindler
cheng2...@gmail.com] > Sent: Monday, June 04, 2012 6:10 PM > To: java-user@lucene.apache.org > Subject: Re: RAMDirectory unexpectedly slows > > Can I control the size of ram given to either MMapDirectory or > ByteBufferDirectory? > > On Mon, Jun 4, 2012 at 11:42 PM, U

Re: RAMDirectory unexpectedly slows

2012-06-04 Thread Cheng
ident > > >> indexes. It also has bad concurrency on multithreaded environments. > > >> > > >> It is recommended to materialize large indexes on disk and use > > >> MMapDirectory, which is a high-performance directory implementation > > worki

Re: RAMDirectory unexpectedly slows

2012-06-04 Thread Uwe Schindler
> >> MMapDirectory, which is a high-performance directory implementation > working > >> directly on the file system cache of the operating system, so copying > data > >> to Java heap space is not useful." > >> > >> -- Jack Krupansky > &

Re: RAMDirectory unexpectedly slows

2012-06-04 Thread Jason Rutherglen
es on disk and use >> >> MMapDirectory, which is a high-performance directory implementation >> working >> >> directly on the file system cache of the operating system, so copying >> data >> >> to Java heap space is not useful." >> >>

Re: RAMDirectory unexpectedly slows

2012-06-04 Thread Cheng
> It is recommended to materialize large indexes on disk and use > >> MMapDirectory, which is a high-performance directory implementation > working > >> directly on the file system cache of the operating system, so copying > data > >> to Java heap space is not

Re: RAMDirectory unexpectedly slows

2012-06-04 Thread Jason Rutherglen
" >> >> -- Jack Krupansky >> >> -Original Message- From: Cheng >> Sent: Monday, June 04, 2012 10:08 AM >> To: java-user@lucene.apache.org >> Subject: RAMDirectory unexpectedly slows >> >> >> Hi, >> >> My apps need

Re: RAMDirectory unexpectedly slows

2012-06-04 Thread Cheng
the file system cache of the operating system, so copying data > to Java heap space is not useful." > > -- Jack Krupansky > > -Original Message- From: Cheng > Sent: Monday, June 04, 2012 10:08 AM > To: java-user@lucene.apache.org > Subject: RAMDirectory unexpecte

Re: RAMDirectory unexpectedly slows

2012-06-04 Thread Jack Krupansky
ystem, so copying data to Java heap space is not useful." -- Jack Krupansky -Original Message- From: Cheng Sent: Monday, June 04, 2012 10:08 AM To: java-user@lucene.apache.org Subject: RAMDirectory unexpectedly slows Hi, My apps need to read from and write to some big indexes