We have a few servers on Google Cloud Platform. I enabled Google stackdriver and it looks like our Solr servers are consistently at 70%+ memory utilization. We can increase the memory if it is likely to speed up queries (our Solr queries are taking a few hundred milliseconds). I tried free and ps (pagefault ) commands and here is the output.
free -h -c 5 -s2
total used free shared buff/cache available
Mem: 7.1G 4.7G 134M 37M 2.3G 2.2G
Swap: 9G 2.5G 7.5G
Output from ps, only first line which is for the Solr process.
ps -eo min_flt,maj_flt,cmd | sort -nr
623846089 4526790 java -server
Will increasing memory help?