[ 
https://issues.apache.org/jira/browse/WW-4441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart resolved WW-4441.
-------------------------------
    Resolution: Fixed
      Assignee: Lukasz Lenart

PR merged, thanks!

> Fix Memory leak in CDI plugin
> -----------------------------
>
>                 Key: WW-4441
>                 URL: https://issues.apache.org/jira/browse/WW-4441
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - CDI
>         Environment: weld, cdi
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.21
>
>
> The CDI plugin was using a single 'CreationalContext' for all beans created 
> by the CDIObjectFactory. This is incorrect and the size of the 
> 'dependentInstances' (in the WELD implementation) grows indefinately with no 
> beans being removed. 
> Fix is to use a new 'CreationalContext' for every bean created. In our tests 
> with WELD this does not effect the applications performance. Idealy a single 
> 'CreationalContext' should be created for the request lifecycle. However the 
> struts ObjectFactory API does not appear to provide any information able the 
> lifecycle.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to