-
Bug
-
Resolution: Done
-
Blocker
-
18.0.0.Final
-
None
As part of looking at WFLY-12671, I found that org.jboss.jca.core.connectionmanager.pool.idle.IdleRemover$IdleRemoverRunner is leaking the application classloader (after undeployment) via org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory originalTCCL being kept after undeployment.
See attached jcaleakmarlow.txt (also attached to WFLY-12671), which shows the leak.
I tried waiting a few minutes after undeployment and the leak was still there. I also tried an even simpler app (2lc.jar) and still there is a leak. I also attached the heapdump (java_pid12802.0001.zip)
To recreate:
- Deploy simple (no app code will be executed) 2lc.jar app.
- Undeploy by doing "rm 2lc.jar.deployed" in wildfly/standalone/deployments
- Look at memory with MAT or other memory leak tool.
- is blocked by
-
WFLY-12742 Upgrade IronJacamar from 1.4.18.Final to 1.4.19.Final
- Closed
- is caused by
-
WFLY-10798 TCCL is not set to datasource module
- Closed
- is incorporated by
-
JBEAP-17911 Upgrade IronJacamar to 1.4.19.Final
- Closed
-
WFLY-12742 Upgrade IronJacamar from 1.4.18.Final to 1.4.19.Final
- Closed
- relates to
-
JBEAP-17803 memory leak, org.jboss.jca.core.connectionmanager.pool.idle.IdleRemover$IdleRemoverRunner is keeping deployment in memory after undeployment
- Closed
-
WFLY-12671 Memory Leak of PersistenceUnitMetadataImpl
- Closed