This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes DB2 JDBC heap error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "DB2 JDBC heap error" Watch "DB2 JDBC heap error" New topic

DB2 JDBC heap error

Steve Holt

Joined: Oct 13, 2004
Posts: 1 [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. [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:
subject: DB2 JDBC heap error
It's not a secret anymore!