-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
None
In tests which in loop do:
- test datasource (DataSource.getconnection, Connection.close)
- reload server
I see:
12:22:14,223 ERROR [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer] (MSC service thread 1-3) Error during the deployment of java:jboss/datasources/ExampleDS: java.lang.OutOfMemoryError: GC overhead limit exceeded 12:22:14,605 ERROR [org.jboss.msc] (MSC service thread 1-1) MSC000008: Worker thread Thread[MSC service thread 1-1,5,main] threw an uncaught exception: java.lang.OutOfMemoryError: GC overhead limit exceeded 12:22:14,975 WARN [org.jboss.msc.service] (MSC service thread 1-6) MSC000007: An internal service error has occurred while processing an operation on service org.wildfly.clustering.infinispan.cache-container-configuration.hibernate.thread-pool.state-transfer: java.lang.OutOfMemoryError: GC overhead limit exceeded 12:22:14,445 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service org.wildfly.data-source.mypool: org.jboss.msc.service.StartException in service org.wildfly.data-source.mypool: WFLYJCA0033: Error during the deployment of mypool at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService.start(AbstractDataSourceService.java:175) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1738) at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1700) at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1558) at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378) at java.lang.Thread.run(Thread.java:748) Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed: file://DataSourceDeployment at org.jboss.jca.deployers.common.AbstractDsDeployer.createObjectsAndInjectValue(AbstractDsDeployer.java:425) at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer.deploy(AbstractDataSourceService.java:424) at org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService.start(AbstractDataSourceService.java:161) ... 8 more Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
Attachment dumps.zip contain heap dump before test and after OOM. It's from different test than in "Steps to Reproduce" but it does the same. Test has EJB which gets and closes connection.
- relates to
-
JBEAP-3274 (7.2.0) Leaking threads, memory and physical connections from Oracle UCP
- Closed