【发布时间】:2020-02-26 21:17:38
【问题描述】:
在centos中安装了elasticsearch v5.5,运行如下命令启动服务。
sudo service elasticsearch start
运行上述命令时出现以下错误。
Starting elasticsearch: OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should configure the number of parallel GC threads appropriately using -XX:ParallelGCThreads=N
OpenJDK 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_pid15359.log
建议我如何解决这个问题。
【问题讨论】:
标签: java elasticsearch centos