Re: Solr Memory Usage - How to reduce memory footprint for solr

2015-01-07 Thread Erick Erickson
And keep in mind that starving the OS of memory to give it to the JVM is an anti-pattern, see Uwe's excellent blog on MMapDirectory here: http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html Best, Erick On Wed, Jan 7, 2015 at 5:55 AM, Shawn Heisey apa...@elyograg.org wrote:

Re: Solr Memory Usage - How to reduce memory footprint for solr

2015-01-07 Thread Shawn Heisey
On 1/6/2015 1:10 PM, Abhishek Sharma wrote: *Q* - I am forced to set Java Xmx as high as 3.5g for my solr app.. If i keep this low, my CPU hits 100% and response time for indexing increases a lot.. And i have hit OOM Error as well when this value is low.. Is this too high? If so, how can I

RE: Solr Memory Usage - How to reduce memory footprint for solr

2015-01-06 Thread Toke Eskildsen
Abhishek Sharma [abhishe...@unbxd.com] wrote: *Q* - I am forced to set Java Xmx as high as 3.5g for my solr app.. If i keep this low, my CPU hits 100% and response time for indexing increases a lot.. And i have hit OOM Error as well when this value is low.. [...] 2. Index Size - 2 g 3.