Elasticsearch 5.0.0 installation error (error='Cannot allocate memory' (errno=12))


(Hilal) #1

Hi,
I want to installation ES 5.0.0 on CEntos 6.7

I installed jdk 8u73

sudo yum install jdk-8u73-linux-x64.rpm

and I installed ES 5.0.0

sudo yum install elasticsearch-5.0.0.rpm

and

/bin/elasticsearch

my error:

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x000000008a660000, 1973026816, 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 1973026816 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /usr/share/elasticsearch/hs_err_pid23640.log

What can I do?


(David Pilato) #2

Change memory settings or add more memory to your computer.


(Hilal) #3

thank you


(system) #4