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, can I reduce this?
Machine Details 4 G RAM, SSD
Solr App Details (Standalone solr app, no shards)
- num. of Solr Cores = 5
- Index Size - 2 g
- num. of Search Hits per sec - 10 [IMP - All search queries have faceting..]
- num. of times Re-Indexing per hour per core - 10 (it may happen at the same time at a moment for all the 5 cores)
- Query Result Cache, Document cache and Filter Cache are all default size - 4 kb.
top stats -
VIRT RES SHR S %CPU %MEM
6446600 3.478g 18308 S 11.3 94.6
iotop stats
DISK READ DISK WRITE SWAPIN IO>
0-1200 K/s 0-100 K/s 0 0-5%