Issue Type: Bug Bug
Affects Versions: 2.0.0.Final
Assignee: Jozef Hartinger
Components: Web Tier integration (JSF, JSP, EL and Servlet)
Created: 09/May/13 4:22 PM
Description:

Running a simple EJB is showing what appears to be a memory leak in WeldListener.

You can see the memory leak by putting breakpoints in the following locations:
WeldListener.requestInitialized line 193
conversationContextActivator.associateConversationContext(request);

WeldListener.requestDestroyed line 152
conversationContextActivator.deactivateConversationContext(request)

If you observe the conversationContextActivator->httpConversationContext->creationalContext->dependentInstances
you will see the number of items in the dependentInstances list increase each time you execute the url (it appears to increase by 4 in this example).

The instances are actually being held by CreationalContextImpl->parentDependentInstances. I can see where they are added but I do not see an equivalent remove.

I tested the app on GlassFish and JBoss and the behavior exhibited by WeldListener is identical.

Project: Weld
Priority: Major Major
Reporter: Joseph Snyder
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira