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 Evgeniy Strokin <ev...@yahoo.com> on 2008/01/16 16:23:21 UTC

Cache size and Heap size

Hello,.. 
I have relatively large RAM (10Gb) on my server which is running Solr. I increased Cache settings and start to see OutOfMemory exceptions, specially on facet search.
Is anybody has some suggestions how Cache settings related to Memory consumptions? What are optimal settings? How they could be calculated?
 
Thank you for any advise,
Gene

Re: Cache size and Heap size

Posted by Daniel Alheiros <Da...@bbc.co.uk>.
Hi Gene.

Have you set your app server / servlet container to use allocate some of
this memory to be used?

You can define the maximum and minimum heap size adding/replacing some
parameters on the app server initialization:

-Xmx1536m -Xms1536m

Which app server / servlet container are you using?

Regards,
Daniel Alheiros

On 16/1/08 15:23, "Evgeniy Strokin" <ev...@yahoo.com> wrote:

> Hello,.. 
> I have relatively large RAM (10Gb) on my server which is running Solr. I
> increased Cache settings and start to see OutOfMemory exceptions, specially on
> facet search.
> Is anybody has some suggestions how Cache settings related to Memory
> consumptions? What are optimal settings? How they could be calculated?
>  
> Thank you for any advise,
> Gene


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.