max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

在ubuntu启动Elasticsearch时显示错误:
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

  • 解决方法:
    在 /etc/sysctl.conf 文件中加入如下内容:

vm.max_map_count=262144

使用命令,使配置生效

sudo sysctl -p

你可能感兴趣的:(ElastecSearch,elasticsearch)