Displaying posts tagged with

“memory leaking”


OpenJPA Auto Detach Configuration and Memory Issues

When I was doing some work with OpenJPA, I found there is a possible memory leaking issue when OpenJPA is used for data access without the proper configuration of the parameter of auto detach (openjpa.AutoDetach).
The scenario that the memory issue may happen:

One EntityManagerFactory and One EntityManager are used throughout the whole session;
The session contains [...]