quyen91 / ishare

share by issues
0 stars 0 forks source link

Elasticsearch version 5.x.x memory limit #12

Open quyen91 opened 6 years ago

quyen91 commented 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

Edit file /etc/elasticsearch/jvm.options with config

-Xms1g 
-Xmx1g 

Ref: https://stackoverflow.com/a/40333263/3551956