I have this Spring boot microservice that I suspect has a memory issue but I am unable to trace the suspected class back to the service code. Here are some indicating pictures, Seems like a persistence layer issue but we're not using the SessionFactoryImpl class directly anywhere.
Does it consume about 40M and the total is about 100M? If so, that's a pretty low number of a JVM app. If it doesn't grow more, I wouldn't be worried about it.
You might have a look at number of resources available about this topic: