Common issues and Troubleshooting
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:
-
Go to
C:\Program Files\Erizos\Elasticsearch\config
-
Open the
jvm.options
file using Notepad or any other text editor. -
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
- Locate the lines that contain:
- 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.