Skip to content

Common

Memory Hogging Issue

If Elasticsearch is using too much of your system's memory, you can limit its heap size to 4GB by following these simple steps:

  1. Go to C:\Program Files\Erizos\Elasticsearch\config

  2. Open the jvm.options file using Notepad or any other text editor.

  3. Edit Heap Size Settings:

    • Locate the lines that contain:
      # -Xms4g
      # -Xmx4g
      
    • Remove the # symbol and any spaces before -Xms4g and -Xmx4g to uncomment these lines:
      -Xms4g
      -Xmx4g
      
  4. Save the file with the extension .options (not as a .txt file) in the folder:
    C:\Program Files\Erizos\Elasticsearch\config\jvm.options.d

By making these changes, you will effectively reduce Elasticsearch's memory usage, helping your system run more efficiently.