Rate This Document
Findability
Accuracy
Completeness
Readability

Elasticsearch Tuning

Purpose

Modify the garbage collection (GC) parameters of the elasticsearch node instance.

Procedure

  1. Modify the config/jvm.options file.
    1
    vi config/jvm.options
    
  2. Press i to enter the insert mode and change the values of Xms and Xmx to 31g.
    1
    2
    -Xms31g
    -Xmx31g
    

  3. Press Esc, type :wq!, and press Enter to save the file and exit.