老师好,执行./elasticsearch报错了,实在是解决不了,打扰了。

来源:5-3 权限控制

微暖丶温情

2018-09-12

[root@zrx bin]# ./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:

/root/01-install/02-elasticsearch/elasticsearch-5.5.2/bin/hs_err_pid29027.log

写回答

1回答

微暖丶温情

提问者

2018-09-12

https://www.jianshu.com/p/1d1886bfb5b8

网上google找到了解决方案,

1
0

BAT大牛亲授 基于ElasticSearch的搜房网实战

ES+MySQL+Kafka,打造强力站内搜索

898 学习 · 285 问题

查看课程