scouter icon indicating copy to clipboard operation
scouter copied to clipboard

JDK17에서 Agent Memory leak

Open nohsiy opened this issue 1 year ago • 2 comments

Springboot로 개발한 APP를 JDK11 (AWS corretto )에서 운용하다가 이번에 APP의 java를 JDK17로 버젼을 올렸는데요.

수 시간이 지나면 메모리릭으로 서버가 뭠춥니다. 힙 덤프를 떠서 확인해보니 첨부한 이미지처럼 scouter.javassist.ClassPool 에서 메모리 릭이 발생하는 것 같습니다.

※ 사용하고 있는 Scouter agent는 v2.17.1이고 scouter-weaver도 같은 버젼을 사용하고 있습니다.

memoryleak

nohsiy avatar May 15 '23 15:05 nohsiy

동일 이슈가 올라와 있습니다 참고바랍니다.

https://github.com/scouter-project/scouter/issues/881

gaiajeon avatar May 16 '23 01:05 gaiajeon

답변 감사합니다.

임시해결방법으로... java agent의 plugin기능을 사용하지 않아서 agent.java/plug의 *.plug파일들을 삭제하니 일단 agent에서는 Memory leak이 발생하지 않는 것 같네요.

nohsiy avatar May 17 '23 00:05 nohsiy