Skip to content
Advertisement

Tag: prototype

Clarify a situation with a cleaning Spring Prototype-beans from memory

I would like to understand whether I should clean prototype-beans from memory manually by myself. In the Spring documentation you can see: “The client code must clean up prototype-scoped objects and release expensive resources that the prototype bean(s) are holding.” So from this it seems that you should clean prototype-beans by yourself. However. I’m using VisualVM memory profiler. I have

Advertisement