title: Memory leak due to org.hibernate.internal.SessionFactoryImpl hard to trace
body: <p>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.</p>
  <p><a href="https://i.stack.imgur.com/3Qvgd.png" rel="nofollow noreferrer">Memory chart</a></p>
  <p><a href="https://i.stack.imgur.com/ZxBoX.png" rel="nofollow noreferrer">Shortest paths to the accumulate points</a></p>
  <p><a href="https://i.stack.imgur.com/SwpnZ.png" rel="nofollow noreferrer">Accumulated objects by class</a></p>