Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-4192

ApplicationComposers do not clear GC references on release

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 8.0.14, 9.0.0
    • 8.0.15, 10.0.0-M1, 9.1.0
    • None
    • None

    Description

      The ApplicationComposers do not clear all references on release which could result in very high memory consumption for tests if injected classes a heavy weight. Having an project with many tests amplifies this problem enormous. An analysis of heap dumps shows different implementations holding references.

      Attachments

        1. GC-Root-For-Payload-before.png
          21 kB
          Georg Tsakumagos

        Activity

          People

            G-Tsak Georg Tsakumagos
            G-Tsak Georg Tsakumagos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 40m
                1h 40m