Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
219 views
in Technique[技术] by (71.8m points)

SpringBoot sun.security.ssl.SSLSessionContextImpl 泄漏问题

项目使用的是SpringBoot2.x、openjdk 1.8.0_232

最近发现能存慢慢的被消耗通过mat分析发现 sun.security.ssl.SSLSessionContextImpl 跟着时间推移占用了大量内存

image.png

image.png

Google 有人说是设置缓存大小,但是没说怎么去设置;设置如下代码无效

        SSLContext.getDefault().getServerSessionContext().setSessionCacheSize(10);

有没有大佬遇到这个问题,在线等!!!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

有解决吗,我也遇到这个问题了,难搞


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...