[
https://jira.jboss.org/browse/JBAS-8424?page=com.atlassian.jira.plugin.sy...
]
Flavia Rainone commented on JBAS-8424:
--------------------------------------
Stan, the reason for not using a weak reference, is that the structure is cleaned and
removed on undeploy, prior to removal of the class loader, hence I don't see how it
would cause a memory leak.
Plus, as I said on an e-mail to Pete, I ran the tests with and without weldint-1, and the
amount of time that it took to reproduce the out of memory error was the same, which took
me to the conclusion that weldint-1 was not contributing to the memory leak.
RestEasy deployer won't release Weld BeanManager on undeploy
------------------------------------------------------------
Key: JBAS-8424
URL:
https://jira.jboss.org/browse/JBAS-8424
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Deployers
Affects Versions: 6.0.0.CR1
Environment: JBoss AS 6.0.0-SNAPSHOT, Linux 64 bit
Reporter: David Allen
Assignee: Bill Burke
Priority: Blocker
Fix For: 6.0.0.CR1
ThreadLocalResteasyProviderFactory in RestEasy has a reference to a CdiInjectorFactory
that is not released when the application is undeployed from JBoss AS. This
CdiInjectorFactory holds a reference to a BeanManager from Weld, and thus leaks all the
beans from the deployment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira