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:[email protected]] 
Sent: Wednesday, December 09, 2015 10:28 AM
To: [email protected]
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 <[email protected]>
> Sent: Wednesday 9th December 2015 16:19
> To: [email protected]
> 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
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

Reply via email to