-
Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner5
[com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource:462] Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgegvj8n15qnk52h6hr5|fcf06c, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> oracle.jdbc.pool.OracleDataSource, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgegvj8n15qnk52h6hr5|fcf06c, idleConnectionTestPeriod -> 30, initialPoolSize -> 10, jdbcUrl -> jdbc:oracle:thin:@10.8.0.149:1521:dbpub, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 30, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 10, numHelperThreads -> 10, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ] java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2" Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#9" Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#8" java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:45) at java.lang.StringBuilder.<init>(StringBuilder.java:80) at oracle.net.ns.Packet.<init>(Packet.java:513) at oracle.net.ns.ConnectPacket.<init>(ConnectPacket.java:64) at oracle.net.ns.NSProtocol.connect(NSProtocol.java:278) at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:531) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137) at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014) at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547) java.lang.OutOfMemoryError: Java heap space Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#6" java.lang.OutOfMemoryError: Java heap space [INFO ] [20120529 10:32:41] [com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource:462] Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hgegvj8n15qnk52h6hr5|e5307e, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> oracle.jdbc.pool.OracleDataSource, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hgegvj8n15qnk52h6hr5|e5307e, idleConnectionTestPeriod -> 30, initialPoolSize -> 10, jdbcUrl -> jdbc:oracle:thin:@10.8.0.149:1521:dbpub, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 30, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 10, numHelperThreads -> 10, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ] Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" java.lang.OutOfMemoryError: Java heap space Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#5" java.lang.OutOfMemoryError: Java heap space Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" java.lang.OutOfMemoryError: Java heap space Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2" java.lang.OutOfMemoryError: Java heap space Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#9" java.lang.OutOfMemoryError: Java heap space Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#9" java.lang.OutOfMemoryError: Java heap space Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#5" java.lang.OutOfMemoryError: Java heap space Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" java.lang.OutOfMemoryError: Java heap space Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#9" java.lang.OutOfMemoryError: Java heap space Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#5" java.lang.OutOfMemoryError: Java heap space Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" java.lang.OutOfMemoryError: Java heap space
问题补充:这是JVM的内存设置问题还是C3P0的问题?
InitialLimit=10
MinLimit=10
MaxLimit=15
remain idle
InactivityTimeout=30
TimeToLiveTimeout=30
AbandonedConnectionTimeout=15
PropertyCheckInterval=1
ConnectionWaitTimeout=5
NumHelperThreads=10
IdleConnectionTestPeriod=302012年5月29日 10:40
目前还没有答案
相关推荐
- Exception in thread “com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2“异常解决
- 死锁 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector
- Exception in thread “com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0“ java.lang.Unsu
- idea中Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner
- Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThrea
相关推荐
11:01:33,545 DEBUG ThreadPoolAsynchronousRunner:730 - com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@5b28c08e -- Running DeadlockDetector[Exiting. No pending tasks.] 11:01:43,558 ...
META-INF/MANIFEST.MF ...com.mchange.v2.Debug.class com.mchange.v2.c3p0.AbstractConnectionCustomizer.class com.mchange.v2.c3p0.AbstractConnectionTester.class com.mchange.v2.c3p0.C3P0ProxyConnection.class ...
com.mchange.v2.c3p0.jdbc.DataSourceClass = com.mchange.v2.c3p0.ComboPooledDataSource driverClass=com.mysql.jdbc.Driver jdbcUrl=jdbc:mysql://localhost:3306/mydatabase initialPoolSize=5 minPoolSize=5 ...
com.springsource.com.mchange.v2.c3p0-0.9.1.2.jar com.springsource.com.mchange.v2.c3p0-sources-0.9.1.2.jar
<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"> <property name="driverClass" value="com.mysql.jdbc.Driver"/> <!-- 其他配置属性 --> ``` 在上面的配置中,我们指定了...
《c3p0-0.9.5.5.jar.zip:深入...com.mchange.v2.c3p0.jdbcUrl=jdbc:mysql://localhost:3306/mydb com.mchange.v2.c3p0.username=myuser com.mchange.v2.c3p0.password=mypassword com.mchange.v2.c3p0.minPoolSize=5 ...
2020-11-27 11:26:11|localhost-startStop-1|INFO |com.mchange.v2.log.MLog,80,|-> MLog clients using log4j logging. 2020-11-27 11:26:11|localhost-startStop-1|INFO |com.mchange.v2.c3p0.C3P0Registry,204,...
com.mchange.v2.c3p0.idle_test_period=3000 ``` 4. **C3P0的API**:C3P0提供了一套API,包括` ComboPooledDataSource `类,它是连接池的主要实现类,用于初始化和管理数据库连接。开发者可以通过它的方法获取和...
这个RAR压缩包包含了两个重要的JAR文件,分别是c3p0-0.9.5.2.jar和mchange-commons-java-0.2.11.jar。 1. **c3p0-0.9.5.2.jar**:这是C3P0的核心库文件,版本为0.9.5.2。C3P0是由Mchange公司开发的一个开源的数据库...
import com.mchange.v2.c3p0.ComboPooledDataSource; public class C3P0Config { public static void main(String[] args) { ComboPooledDataSource cpds = new ComboPooledDataSource(); cpds.setDriverClass(...
log4j:WARN No appenders could be found for logger (com.mchange.v2.log.MLog). log4j:WARN Please initialize the log4j system properly.
2. **com.mchange.v2.c3p0.jar**:这个包是C3P0的全名,包含了一些额外的依赖,如Mchange的其他组件,这些组件可能在某些特定功能或异常处理中使用。 3. **mysql-connector-java.jar** (或对应数据库驱动):C3P0...
com.springsource.com.mchange.v2.c3p0-0.9.1.2.jar com.springsource.org.aopalliance-1.0.0.jar com.springsource.org.apache.commons.logging-1.1.1.jar com.springsource.org.apache.log4j-1.2.15.jar ...
待处理任务唯一标识的setTimeout管理器为什么? 您知道当满足最少玩家人数时开始倒数的那些游戏吗? 是的,这就是为什么要建造它的原因。 对于这样的事情很有好处。 您可以在一个地方管理任务,并根据需要添加或删除...
在Java开发中,数据库连接管理是一个关键环节,而C3P0和MChange(也称为Vibur DBCP)是两个常用的数据库连接池组件。它们各自有着不同的特性和使用场景,但有时候为了优化数据库访问性能,我们会将两者结合使用。在...
<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"> <property name="driverClass" value="com.mysql.jdbc.Driver"/> <!-- 其他参数配置... --> ``` 理解并正确配置这些参数...
《mchange-commons-java-0.2.11.jar:深入了解Maven依赖与Java库的构建》 在Java开发中,我们经常会遇到各种各样的jar文件,它们是Java应用程序的基础,提供了丰富的功能和API。"mchange-commons-java-0.2.11.jar...
c3p0是一个开源的JDBC连接池,它的全称为com.mchange.v2.c3p0,由Mchange公司提供。这个库使得开发者能够更高效地管理和复用数据库连接,从而提高应用性能并降低系统资源消耗。"c3p0-0.9.5.2.jar+mchange-commons-...
c3p0连接mysql8.0.11需要外加mchange-commons-java-0.2.15.jar,maven的pom.xml 中配置了,但是项目中报找不到mchange-commons-java-0.2.15.jar这个文件,可以把此文件下载后,然后解压后把对应的jar包放到maven 库...
c3p0-0.9.5.2.jar mchange-commons-java-0.2.11.jar commons-logging-1.2.jar mysql-connector-java-5.1.43-bin.jar