Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-594

Memory leak in RepositoryComponents singleton

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7
    • 1.4.1
    • Data-Module
    • None

    Description

      RepositoryComponentsFactory has a static singleton member of type RepositoryComponents.

      Repository classes are added to this singleton, but are never deleted.

      This will cause a classloader leak when the DeltaSpike modules live longer than application modules, e.g. in OSGi when each DeltaSpike module is a separate bundle, or in WildFly when DeltaSpike is installed as a JBoss module.

      Attachments

        Issue Links

          Activity

            People

              danielsoro Daniel Cunha
              hwellmann Harald Wellmann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: