by 관리소농민 [Oracle Tuning] jeus oracle 12.1.0.2.0 12c [2025.01.02 17:02:29]
새해 복 많이 받으세요
jeus,oracle 구조로 운영중 입니다. jeus에서 Full GC 발생으로 강제 heap덤프 생성 했습니다.
덤프 내 사진과 같이 PhysicalConnection.BufferCache 객체가 메모리를 과점유한 것으로 확인
동일 사례를 겪으신 분이나 관련 내용을 아시는 선배님들의 조언 부탁드립니다.
감사합니다.
관련 문서
https://www.oracle.com/technetwork/database/enterprise-edition/memory.pdf
번역
https://linux.systemv.pe.kr/database/oracle-database/oracle-jdbc-memory-management/
기타
JEUS WAS는 상관이 없어 보이고
- DAO가 아닌 명시적 PrepareStatement 부분이 있다면 메모리를 과도하게 쓰지 않는지 체크
- (물리적)캐쉬 사용 또는 HashMap(얘도 캐쉬)을 제한하거나 - 힌트
그나마 동일한 문제
https://stackoverflow.com/questions/21615718/softreferencestring-not-garbage-collected-when-out-of-memory
GC 문제라고 합니다.
SoftReference 구문이 많지 않다면 참고하여 바꿔보시는 것도 좋을 거 같습니다.