Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JDBC and the fly likes DB2 JDBC heap error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DB2 JDBC heap error" Watch "DB2 JDBC heap error" New topic
Author

DB2 JDBC heap error

Steve Holt
Greenhorn

Joined: Oct 13, 2004
Posts: 1
COM.ibm.db2.jdbc.net.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0954C Not enough storage is available in the application heap to process the statement. SQLSTATE=57011

This app will run and about 2 - 3 hours it will receive this error, along with this error. I am assuming that this error is happening because of the above error.

COM.ibm.db2.jdbc.net.DB2Exception: [IBM][JDBC Driver] CLI0601E Invalid statement handle or statement is closed. SQLSTATE=S1000

I have increased the heap size in the DB2 control center under the Performance tab to 60000.

I have this same app running on another PC with the same data and it never fails. Is it hardware issue?

DB2 version 6.1
Win 2000/nt server
512 mega byte ram
[ October 13, 2004: Message edited by: Bear Bibeault ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DB2 JDBC heap error