Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-5542

ServiceConfigImpl causes memory leak.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.0.0, 12.0.0, 13.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Sprint:
      Sustaining Sprint 11, Sustaining Sprint 12, AM Sustaining Sprint 13, AM Sustaining Sprint 14, AM Sustaining Sprint 15, AM Sustaining Sprint 34, AM Sustaining Sprint 35, AM Sustaining Sprint 36
    • Story Points:
      5
    • Support Ticket IDs:

      Description

      When OpenAM creates ServiceConfigImpl as global configuration, it overwrite old value in cache.
      Then, some reference are remained.

      such as:

      • ServiceConfigImpl.smsEntry
      • ServiceConfigImpl.ssmi

      So GC does not collect them.

      Reproduction step 1:

      1) Access the admin console
      2) Click tab or link again and again

      Reproduction step 2 (only OpenAM 11):

      1) Configure OpenAM as OAuth2 Provider that use the global configuration
      2) Get an access token
      3) Access the tokeninfo endpoint again and again

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markdr Mark de Reeper
                Reporter:
                tsujiguchi tsujiguchi
              • Votes:
                2 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0h
                  0h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 27h 47m
                  27h 47m