Elastic search memory

I tried to set the heap size of elastic search .so I have set it as -Xmx64m and -Xms64m.but when I restarted the es and check for the memory its still showing 2g.then I commented out those two setting written as follows:
Xmx64m //commented out
Xms64m
ES_JAVA_OPTS="-Xmx64m -Xmx64m" ./bin/elastic search
But nothing worked.can anyone have idea why it is not changed?

Hello @Lynd

  1. What Elasticsearch version are you on?
  2. I see you've opened the question on Logstash. Can you modify the category to Elasticsearch?
  3. Can you provide the exact command & the log lines of Elasticsearch startup?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.