2

In our application we are using Spring Framework v2.3.3.RELEASE. The application acts as a GRPC Server and responds to GRPC Requests sent from another application (It's micro-service architecture).

During our Performance Testing, we observed very high Memory Consumption in our app. On Analysing, found out that Old Generation was filling up very fast. Minor GC was not clearing up space. GC Pattern

On taking Heap Dump, we found that the issue was with sun.security.ssl.SSLSessionContextImpl Heap Dump Overview Incoming References

We are not using this Class from our side in the code. How can we find from where it is being referenced??

How can we get rid of this memory issue... if anyone else has faced this?

Open JDK Version: 1.8.0_262

Java Options: -XX:MetaspaceSize=256M -XX:MaxMetaspaceSize=256M -Xmx6144m -Xms6144m -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseStringCache -XX:+OptimizeStringConcat -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC

1
  • Did you find the cause of the memory consumption? Commented Jun 20, 2023 at 16:59

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.