[elastic@localhost elasticsearch-head]$ Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000085330000, 2060255232, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 2060255232 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /tmp/hs_err_pid1480.log
由于elasticsearch5.5默认分配jvm空间大小为2g,修改jvm空间分配
vi /javaxl/es/elasticsearch-5.5.2/config/jvm.options
将默认配置
-Xms2g
-Xmx2g
改成
-Xms512m
-Xmx512m
over......
备案号:湘ICP备19000029号
Copyright © 2018-2019 javaxl晓码阁 版权所有