Open quyen91 opened 6 years ago
Default after install, ES 5 take so much memory. We need config memory.
ES_HEAP_SIZE=512m in /etc/default/elasticsearch no longer working
ES_HEAP_SIZE=512m
/etc/default/elasticsearch
Edit file /etc/elasticsearch/jvm.options with config
/etc/elasticsearch/jvm.options
-Xms1g -Xmx1g
Ref: https://stackoverflow.com/a/40333263/3551956
Default after install, ES 5 take so much memory. We need config memory.
ES_HEAP_SIZE=512m
in/etc/default/elasticsearch
no longer workingEdit file
/etc/elasticsearch/jvm.options
with configRef: https://stackoverflow.com/a/40333263/3551956