see Uwe's blog: http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html
Short form: files are read into the OS's memory as needed. the whole file isn't read at once. Best, Erick On Wed, Nov 23, 2016 at 12:04 AM, Kumaran Ramasubramanian <kums....@gmail.com> wrote: > Hi All, > > how do lucene read large index files? > for example, if one file (for eg: .dat file) is 4GB. > lucene read only part of file to RAM? or > is it different approach for different lucene file formats? > > > Related Link: > How do applications (and OS) handle very big files? > http://superuser.com/a/361201 > > > -- > Kumaran R --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org