The project uses SpringBoot 2.x, openjdk 1.8.0_232
Recently found that it can be consumed slowly. Through mat
analysis, it is found that sun.security.ssl.SSLSessionContextImpl
takes up a lot of memory over time
Some people say by setting SSLContext.getDefault().getServerSessionContext().setSessionCacheSize(10);
I set it but it is invalid, maybe my way is wrong; I put it directly in the startup class to initialize
Have the exact same problem, but in a Grails app (also based on Spring Boot 1.5.x). The problem persists also after settings those parameters - sessionCacheSize and sessionTimeout - to small values: 10 and 60 respectively.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With