I have graylog installed on Debian Jessie. When I use the cerebro plug-in to view my Elasticsearch cluster, I see a maximum heap size of 1G. I want to up this to the recommended 50% of real memory. Here is what I have done:
- Created /etc/profile.d/elasticsearch.sh with
- Modified /etc/elasticsearch/elasticsearch.yml with the following:
- Modified /etc/init.d/elasticsearch
Despite all these changes, my max heap size keeps showing up as 1 gig. When I do a ps -ef, I see:
/usr/bin/java -Xms256m -Xmx1g
I have no idea where those settings are coming from. Any help would be appreciated.