Insufficient memory for the Java Runtime Environment to continue


#1

I configured the environment and use ./elasticsearch to launched the Elasticsearch-6.2.4,then I got the error message:


the log content is:


--------------- S Y S T E M ---------------

OS:CentOS Linux release 7.4.1708 (Core)

uname:Linux 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64
libc:glibc 2.17 NPTL 2.17
rlimit: STACK 8192k, CORE 0k, NPROC 4096, NOFILE 4096, AS infinity
load average:0.00 0.01 0.05

Memory: 4k page, physical 1883496k(63668k free), swap 0k(0k free)

vm_info: OpenJDK 64-Bit Server VM (25.171-b10) for linux-amd64 JRE (1.8.0_171-b10), built on May 22 2018 01:32:00 by "mockbuild" with gcc 4.8.5 20150623 (Red Hat 4.8.5-28
I set the heap size
-xms1g to -xms512m
-xmx1g to -xms512m
in jvm.options
Set vm.max_map_count=262144
Set limits.conf
* soft nofile 65536
* hard nofile 131072
* soft nofile 2048
* hard nofile 4096

My cloud server has 2GB(I/O)

What should I do?


(David Pilato) #2

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with </> icon. Check the preview window.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.