Re: Solr status showing wrong data

2019-09-24 Thread Jayadevan Maymala
> > Thus, can I ask you to share your JVM heap config or confirm the maths > with that yourself? *I guess you Xms is 4G while Xmx is probably around > 16G. * > Indeed, it is -Xmx18g Thank you for setting that straight. Regards, Jayadevan

Re: Solr status showing wrong data

2019-09-24 Thread Edward Ribeiro
Yup, it looks like the percentage over Xmx. See https://github.com/apache/lucene-solr/blob/branch_7_1/solr/core/src/java/org/apache/solr/handler/admin/SystemInfoHandler.java#L300-L317 double percentUsed = ((double)(used)/(double)max)*100; where max = runtime.maxMemory(); And maxMemory is as see

Re: Solr status showing wrong data

2019-09-23 Thread Paras Lehana
Hi, Jayadevan 2 GB is not 11.8% of 3.8 GB. This is an interesting observation. I also confirmed the ambiguity on my machine: "memory":"4 GB (%26.3) of 7.7 GB" My JVM heap config is: -Xms8g -Xmx16g So, this 26.3% could be of the* max available heap space* *(*)* allocated to solr process (j