By default elasticsearch has 2GB of RAM set for JVM. In case you run it on VM with less memory you need to change:
- –Xms2g to –Xms512m
- –Xmx2g to –Xmx512m
in /etc/elasticsearch/jvm.options configuration file.
by skufel | Apr 4, 2017 | Infrastructure, Linux, SysAdmin | 0 comments
By default elasticsearch has 2GB of RAM set for JVM. In case you run it on VM with less memory you need to change:
in /etc/elasticsearch/jvm.options configuration file.