lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oakley, Craig (NIH/NLM/NCBI) [C]" <craig.oak...@nih.gov>
Subject RE: Solr Heap memory vs. OS memory
Date Wed, 13 Jan 2016 21:25:22 GMT
Followup question:

If one has multiple instances on the same host (a host running basically nothing except multiple
instances of Solr), then the values specified as -Xmx in the various instances should add
up to 25% of the RAM of the host...

Is that correct?

-----Original Message-----
From: Markus Jelsma [mailto:markus.jelsma@openindex.io] 
Sent: Wednesday, December 09, 2015 10:28 AM
To: solr-user@lucene.apache.org
Subject: RE: Solr Heap memory vs. OS memory

Yes. This is still accurate, Lucene still relies on memory mapped files. And Solr usually
doesn't require that much RAM, except if you have lots of massive cache entries.
Markus
 
-----Original message-----
> From:Kelly, Frank <frank.kelly@here.com>
> Sent: Wednesday 9th December 2015 16:19
> To: solr-user@lucene.apache.org
> Subject: Solr Heap memory vs. OS memory
> 
> Hi Folks,
> 
>  I was wondering if this link I found recommended by Erick is still accurate (for Solr
5.3.1)
> 
> "For configuring your Java VM, you should rethink your memory requirements: Give only
the really needed amount of heap space and leave as much as possible to the O/S. As a rule
of thumb: Don't use more than 1Z4 of your physical memory as heap space for Java running Lucene/Solr,
keep the remaining memory free for the operating system cache."
> 
> http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html
> 
> So I am using several CentOS Vms (on AWS) with 8GB RAM I so should plan for < 2GB
for -Xms and -Xmx?
> Our scaling plan - being on AWS - is to scale out (adding more Vms - not adding more
memory).
> 
> Thanks!
> 
> -Frank
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
Mime
View raw message