You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by dinesh naik <di...@gmail.com> on 2016/09/21 08:45:51 UTC
solr-5.2.1: All folders in solr box(Linux) are sitting in RAM
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
Re: solr-5.2.1: All folders in solr box(Linux) are sitting in RAM
Posted by dinesh naik <di...@gmail.com>.
Hi Eric,
Thanks a lot. Got the point.
On Sep 21, 2016 10:18 PM, "Erick Erickson" <er...@gmail.com> 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 <di...@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
>
Re: solr-5.2.1: All folders in solr box(Linux) are sitting in RAM
Posted by Erick Erickson <er...@gmail.com>.
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 <di...@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