Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.3.4, 5.3
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.