We have application deployed on weblogic 12c and we are seeing intermittent following exception in the logs
java.lang.OutOfMemoryError: GC overhead limit exceeded
and when I see the applications log4j logs at the same time I can see following exception
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: weblogic.jdbc.extensions.PoolLimitSQLException: weblogic.common.resourcepool.ResourceLimitException: No resources currently available in pool TMP_DS_RW to allocate to applications, please increase the size of the pool and retry.. Error Code: 0
Caused by: weblogic.jdbc.extensions.PoolLimitSQLException: weblogic.common.resourcepool.ResourceLimitException: No resources currently available in pool TMP_DS_RW to allocate to applications, please increase the size of the pool and retry..
Is this happening because of number of connections in pool are exhausted?
Is there any relation between connection pool size of weblogic and java.lang.OutOfMemoryError ?
because whenever pool connections are seems to be exhausted we are facing java.lang.OutOfMemoryError.
We have tried increasing heap size from 1GB to 2GB but still we are facing java.lang.OutOfMemoryError after some time.
After using eclipse heap dump analyzer in problem suspect it is showing
The class "java.lang.ref.Finalizer", loaded by "system class loader", occupies 9,935,880 (69.45%) bytes.
Note : Maximum Capacity is set to 30 in connection pool tab of jndi datsource configuration in weblogic and we are using oracle database.