Re: solr-5.2.1: All folders in solr box(Linux) are sitting in RAM

2016-09-21 Thread dinesh naik
Hi Eric,
Thanks a lot.  Got the point.

On Sep 21, 2016 10:18 PM, "Erick Erickson"  wrote:

> 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 
> 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.0Kclusterstate.json
> > 1.5MConf
> > 15G jdk1.8.0_25
> > 151Mjdk_old
> > 262Mjvm_1.7
> > 538Mscripts
> > 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
>


Re: solr-5.2.1: All folders in solr box(Linux) are sitting in RAM

2016-09-21 Thread Erick Erickson
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  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.0Kclusterstate.json
> 1.5MConf
> 15G jdk1.8.0_25
> 151Mjdk_old
> 262Mjvm_1.7
> 538Mscripts
> 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