- COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0973N "APP_CTL_HEAP_SZ" 堆中没有足够的存储器可用来处理语句。 SQLSTATE=57011
- at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(Unknown Source)
- at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(Unknown Source)
- at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.check_return_code(Unknown Source)
- at COM.ibm.db2.jdbc.app.DB2ResultSet.next(Unknown Source)
- at com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.next(WSJdbcResultSet.java(Compiled Code))
- ......
- 。
- COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0973N "APP_CTL_HEAP_SZ" 堆中没有足够的存储器可用来处理语句。 SQLSTATE=57011
- at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(Unknown Source)
- at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(Unknown Source)
- at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.check_return_code(Unknown Source)
- at COM.ibm.db2.jdbc.app.DB2ResultSet.next(Unknown Source)
- at com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.next(WSJdbcResultSet.java(Compiled Code))
- ......
查看DB2 该数据库参数 "APP_CTL_HEAP_SZ" 值,
命令:
- db2 get db cfg for databasename
修改 "APP_CTL_HEAP_SZ" 值,
命令:
- db2 update db cfg for databasename using APP_CTL_HEAP_SZ 1000
重新启动DB2,这修改的值保存在暂挂值,在数据库重新启动后起作用