I have a java spring boot project. When the code related to multi-threading (Executor service)is executed memory is getting filled. GC is not clearing this memory. After reading GC docs, came to know that the tenured memory is not getting cleared. By monitoring the JVM by Java Profiler, I notice that this Tenured Generation never get cleared(until full, for my case).
- how can I make gc clear the tenured space?
we running app using docker image