georliu opened a new issue, #7303: URL: https://github.com/apache/incubator-seata/issues/7303
我在项目中使用connection = new DataSourceProxy(dataSource).getConnection()获取数据源,当并并发量起来之后使用监控发现线程数量一直没降下来,最终导致java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached,具体的异常如下 Caused by: java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached at java.base/java.lang.Thread.start0(Native Method) at java.base/java.lang.Thread.start(Thread.java:809) at java.base/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:945) at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1353) at io.seata.rm.datasource.sql.struct.TableMetaCacheFactory$TableMetaRefreshHolder.<init>(TableMetaCacheFactory.java:116) at io.seata.rm.datasource.sql.struct.TableMetaCacheFactory.registerTableMeta(TableMetaCacheFactory.java:87) at io.seata.rm.datasource.DataSourceProxy.init(DataSourceProxy.java:101) at io.seata.rm.datasource.DataSourceProxy.<init>(DataSourceProxy.java:82) at io.seata.rm.datasource.DataSourceProxy.<init>(DataSourceProxy.java:67) at com.dtt.tax.lowcode.config.apijson.LowCodeSQLExecutor.getConnection(LowCodeSQLExecutor.java:167) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org