티스토리 뷰

 요즘 VM에 서버 구축하는 업무를 하고 있는데 분명 잘했다고 생각했는데 오늘 예상치 못한 에러를 만났다.

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

...

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '~' : Invocation of init method failed; nested exception is org.ehcache.StateTransitionException: Attempting to allocate 7.3GB of memory when the host only contains 3.7GB of physical memory

 이 에러는 VM 만들면서 설정한 메모리(RAM)가 부족해서 뜨는 것이니 메모리를 다시 설정해주거나, 다시 설정할 수 없다면(...) 다시 만들어서 진행하면 된다.

300x250

'공부흔적' 카테고리의 다른 글

오프힙(Offheap)  (0) 2021.06.14
[MAC] 도커로 젠킨스 세팅하기  (0) 2021.06.06
ehcache API  (0) 2021.05.18
일일커밋(1일1커밋) 1년 회고  (0) 2021.05.04
[Intellij] test패키지에 만든 java파일 인식 못할 때  (0) 2021.04.17
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/09   »
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
글 보관함