[jira] [Created] (ARIES-1891) Memory Leak in aries-jpa-support

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[jira] [Created] (ARIES-1891) Memory Leak in aries-jpa-support

JIRA jira@apache.org
Daniel Estermann created ARIES-1891:

             Summary: Memory Leak in aries-jpa-support
                 Key: ARIES-1891
                 URL: https://issues.apache.org/jira/browse/ARIES-1891
             Project: Aries
          Issue Type: Bug
          Components: JPA
    Affects Versions: jpa-2.7.1
            Reporter: Daniel Estermann
             Fix For: jpa-2.7.2

The fix for ARIES-1783 has a memory leak. The method org.apache.aries.jpa.supplier.EmSupplier.get() is called every time when a method on EntityManager is called. And every time a ServiceReference to a TransactionManager gets created. But it doesn't get deleted. So we have as many ServiceReferences in the memory as calls on EntityManager.

This message was sent by Atlassian JIRA