Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1977

Memory leak (perm gen) in component reloading

    XMLWordPrintableJSON

Details

    Description

      I think I found a memory leak in components reloading. The ComponentEventResultProcessor uses a StrategyBuilder to find the correct behavior to apply on events methods results.
      If a "onEvent" method returns a component instance, then the StrategyBuilder will keep the component class in its cache. When reloading components, this cache should be cleared to let GC clear the classLoader and all the corresponding classes.

      Attachments

        1. memoryleak.patch
          3 kB
          Denis Delangle

        Activity

          People

            hlship Howard Lewis Ship
            denis.delangle Denis Delangle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: