georliu commented on issue #7303: URL: https://github.com/apache/incubator-seata/issues/7303#issuecomment-2815160091
完整的日志如下,目前看起来是在每次执行APIJSON的executeSQL方法时,获取connectionMap中未关闭的连接,如果已关闭就会通过connection = new DataSourceProxy(dataSource).getConnection()重新建立连接 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) at apijson.orm.AbstractSQLExecutor.getStatement(AbstractSQLExecutor.java:1154) at apijson.orm.AbstractSQLExecutor.getStatement(AbstractSQLExecutor.java:1123) at apijson.orm.AbstractSQLExecutor.executeUpdate(AbstractSQLExecutor.java:1412) at apijson.orm.SQLExecutor.executeUpdate(SQLExecutor.java:80) at apijson.orm.AbstractSQLExecutor.execute(AbstractSQLExecutor.java:242) at apijson.orm.AbstractParser.executeSQL(AbstractParser.java:2032) at com.dtt.tax.lowcode.config.apijson.LowCodeParser.executeSQL(LowCodeParser.java:173) -- 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 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