반응형 Troubleshooting1 OutOfMemory 발생 시 문제해결 프로세스 java.lang.OutOfMemoryError: Java Heap Space 한정된 힙 영역에 대량의 데이터를 가져오는 행위 : sql조건 축소, 32비트->64비트 변경 후 힙 사이즈 증가 애플리케이션의 불필요한 행위 : 이미 가져온 데이터를 다른 객체로 복사해 사용하는 행위. 작은 힙 사이즈 : 애플리케이션의 수정과 데이터의 증가에 비해 작은 힙 메모리를 사용하는 경우 늘려줘야 한다. 메모리 leak : 지속적 참조객체로 인해 gc수행 시 제거되지 않는 현상으로 애플리케이션 수정이 필요. java.lang.OutOfMemoryError: PermGen space 펌 영역 부족 현상으로 적정한 값을 차지 못하는 경우 최솟값과 최댓값을 다르게 하여 gc로그를 통해 적정 값을 찾는다. 간혹 릭이 발생하는.. 2022. 8. 30. 이전 1 다음 반응형