Elasticsearch Tuning
Purpose
Modify the garbage collection (GC) parameters of the elasticsearch node instance.
Procedure
- Modify the config/jvm.options file.
1vi config/jvm.options - Press i to enter the insert mode and change the values of Xms and Xmx to 31g.
1 2
-Xms31g -Xmx31g

- Press Esc, type :wq!, and press Enter to save the file and exit.
Parent topic: Tuning Guide (CentOS & openEuler)