티스토리 뷰

org.elasticsearch.ElasticsearchException: java.lang.InterruptedException

Sonarqube 설치 후 org.elasticsearch.ElasticsearchException: java.lang.InterruptedException 라는 오류가 발생하였다. 이건 꼭 설치 후 발생하는것 뿐만 아니라 운영중에도 발생하는 경우가 있다.

원인은 오류파일에 명시된 sonarqube설치경로/logs/ex_hs_err_pid.log 파일에 자세히 명시가 되어 있다. 

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 536870912 bytes for Failed to commit area from 0x00000000e0000000 to 0x0000000100000000 of length 536870912.
# Possible reasons:
#   The system is out of physical RAM or swap space
#   The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
#  Out of Memory Error (./src/hotspot/os/windows/os_windows.cpp:3311), pid=16444, tid=15164
#
# JRE version:  (11.0.13+8) (build )
# Java VM: OpenJDK 64-Bit Server VM (11.0.13+8-LTS, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#

이런 내용인데 조치 가능한 방법들에 대해서도 자세히 나와있다. 원인은 메모리 부족이고 이를 해결하기 위해 어떻게 하라는 내용들이 Possible reasons 에 명시가 되어 있다. 

 

메모리 확보를 하자!

 

끝!

댓글
최근에 올라온 글
최근에 달린 댓글
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30