lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Lin Edwin Yeo <edwinye...@gmail.com>
Subject Re: Increasing filterCache size and Java Heap size
Date Wed, 17 Aug 2016 06:57:47 GMT
Hi Erick,

Thanks for your reply.

But do we have to set the Java Heap size based on all the collections
available (if I were to increase the filterCache size for all my
collections)?

I come across this from StackOverFlow,
http://stackoverflow.com/questions/20999904/solr-filter-cache-fastlrucache-takes-too-much-memory-and-results-in-out-of-mem
it says that if we want to have a filterCache size of 2000, we will need
12GB of memory.

Let's say if we have 3 of the collections, which all the filterCache size
are set to 2000, do we need 36GB of Java Heap space memory? Or just 12GB
will be sufficient?

Regards,
Edwin


On 17 August 2016 at 14:09, Erick Erickson <erickerickson@gmail.com> wrote:

> Yes. Each entry is roughly 1K + maxdoc/8 bytes. The maxdoc/8 is the
> bitmap that holds the result set and the 1K is just overhead for the
> text of the query itself and cache overhead. Usually it's safe to
> ignore since the maxdoc/8 usually dominates by a wide margin.
>
> Best,
> Erick
>
> On Tue, Aug 16, 2016 at 8:02 PM, Zheng Lin Edwin Yeo
> <edwinyeozl@gmail.com> wrote:
> > Hi,
> >
> > Would like to check, do I need to increase my Java Heap size for Solr,
> if I
> > plan to increase my filterCache size in solrconfig.xml?
> >
> > I'm using Solr 6.1.0
> >
> > Regards,
> > Edwin
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message