Why do you want to avoid this? Having the index in RAM (either the JVM or OS) is essential to fast querying. Perhaps you're being mislead by the MMapDirectory's consumption of the OS memory? See Uwe's excellent article here:
http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html Best, Erick On Wed, Sep 21, 2016 at 1:45 AM, dinesh naik <dineshkumarn...@gmail.com> wrote: > Hi all, > > i have a linux box with 48GB RAM . > > In this box i have solr and jdk installed. i have few other folders as > well. > > [solruser@server1 ~]$ du -sh * > 4.0K clusterstate.json > 1.5M Conf > 15G jdk1.8.0_25 > 151M jdk_old > 262M jvm_1.7 > 538M scripts > 11G solrhome > > My actual index size is 9GB (inside solr installation directory solrhome) > .In solr admin UI the physical memory shows 32GB. > > It seems all the folders are sitting in RAM . Kindly suggest how can i > avoid this? > > -- > Best Regards, > Dinesh Naik