ElasticSearch的内存设置

编辑ElasticSearch中bin目录下

vi elasticsearch中

加上   export ES_HEAP_SIZE=24g

修改配置文件 config/elasticsearch.yaml

  bootstrap.mlockall: true

 

具体参照文档:

官方:https://www.elastic.co/guide/en/elasticsearch/guide/current/heap-sizing.html

翻译:http://openskill.cn/article/304

posted @ 2017-11-27 11:58  一心行走  阅读(5744)  评论(1编辑  收藏  举报