File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
DB2 JDBC heap error
Joined: Oct 13, 2004
Oct 13, 2004 09:57:00
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.
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
DB2 SQLSTATE ???
connecting to db2 using net driver
Error opening socket. SQLSTATE=08S01
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015