Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1781

[HHH-10251] Memory Leak when using Reference Cached, bytecode enhanced Immutable Entities

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.0.0.ER4
    • 7.0.0.DR13 (Alpha)
    • JPA/Hibernate
    • None

    Description

      With Bytecode enhanced Immutable Entities referenced cached in the 2lc, a reference is retained to the EntityEntry, and in turn a StatefulPersistenceContext, associated with the Entity when it was loaded and stored in the 2lc. The PersitenceContext (and related session objects) are not GC'd after the session is closed.

      When there is a high cache miss rate a lot of sessions create cached entities, a lot of sessions are retained in memory

      Attachments

        Issue Links

          Activity

            People

              gbadner@redhat.com Gail Badner (Inactive)
              msimka@redhat.com Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: