0

Environment: Elastic 8.8, on-prem cluster (one master, two workers). OS: Ubuntu 22.04

How increase RAM utylization for elasticsearch java processes the propper way? According the documentation https://www.elastic.co/guide/en/elasticsearch/reference/current/advanced-configuration.html#set-jvm-heap-size

enter image description here

Despite above configuration then restart elasticsearch service on one of the nodes, Xms and Xmx for elasticsearch still without changes:

/usr/share/elasticsearch/jdk/bin/java -Xms4m -Xmx64m

Elasticsearch service often crashes due to:

java.lang.OutOfMemoryError: Java heap space

How to do it correctly?

Any suggestions very appreciated.

gaspar
  • 674
  • 2
  • 10
  • 24

0 Answers0