473,382 Members | 1,646 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

SQL0954C Not enough storage is available in the application heap to process the statement. SQLSTATE=57011


Recieved the message: SQL0954C Not enough storage is available in the
application heap to process
the statement. SQLSTATE=57011

After viewing other posts, they recommended changing the applheapsz
(which was completed). We have restarted DB2. The query is not too
complex. The interesting point is that we ran the query yesterday
with no issues. The server we are testing is a new box in which
multiple "break DB2" queries were executed. This includes a cartesion
product that ran for a couple hours.

So, did I break the DB2 internal self memory manager. Queries that
ran yesterday - fail today. Also tried db2 reset database manager
configuration.

Thanks,

jb

Apr 10 '07 #1
4 14672
Justin wrote:
Recieved the message: SQL0954C Not enough storage is available in the
application heap to process
the statement. SQLSTATE=57011

After viewing other posts, they recommended changing the applheapsz
(which was completed). We have restarted DB2. The query is not too
complex. The interesting point is that we ran the query yesterday
with no issues. The server we are testing is a new box in which
multiple "break DB2" queries were executed. This includes a cartesion
product that ran for a couple hours.

So, did I break the DB2 internal self memory manager. Queries that
ran yesterday - fail today. Also tried db2 reset database manager
configuration.
Oftentimes running out of application heap is caused by leaks in the
application.
E.g. not closing cursors properly or releasing statement handles...
Which version of DB2 is this anyway?

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Apr 11 '07 #2

We are running DB2 version 9.1 Fix pack 0 on a dell server. OS: Red
Hat Linux

The peculiar thing is that the query has been running for months on
version 8 with no problem. It ran fine on Monday - as I have test
results from the SP. We have stopped and restarted DB2.

We actually pulled the select statement out of the SP. Put the select
statement in a simple file and called it using: DB2 -tvf test.sql.
This gives us the heap error. The heap size is bigger on the machine
that fails ?!?

On Apr 11, 8:46 am, Serge Rielau <srie...@ca.ibm.comwrote:
Justin wrote:
Recieved the message: SQL0954C Not enough storage is available in the
application heap to process
the statement. SQLSTATE=57011
After viewing other posts, they recommended changing the applheapsz
(which was completed). We have restarted DB2. The query is not too
complex. The interesting point is that we ran the query yesterday
with no issues. The server we are testing is a new box in which
multiple "break DB2" queries were executed. This includes a cartesion
product that ran for a couple hours.
So, did I break the DB2 internal self memory manager. Queries that
ran yesterday - fail today. Also tried db2 reset database manager
configuration.

Oftentimes running out of application heap is caused by leaks in the
application.
E.g. not closing cursors properly or releasing statement handles...
Which version of DB2 is this anyway?

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

Apr 11 '07 #3

We bumped the app heap size to 12 K and it works. Not satisfied with
the change - but liveable.
Works fine db2 v 8 operating under only 4K.

Testing db2 v9 fix pack 2 - starting today. Not sure if we will come
across similar problems.

On Apr 11, 9:50 am, "Justin" <kfw...@hotmail.comwrote:
We are running DB2 version 9.1 Fix pack 0 on a dell server. OS: Red
Hat Linux

The peculiar thing is that the query has been running for months on
version 8 with no problem. It ran fine on Monday - as I have test
results from the SP. We have stopped and restarted DB2.

We actually pulled the select statement out of the SP. Put the select
statement in a simple file and called it using: DB2 -tvf test.sql.
This gives us the heap error. The heap size is bigger on the machine
that fails ?!?

On Apr 11, 8:46 am, Serge Rielau <srie...@ca.ibm.comwrote:
Justin wrote:
Recieved the message: SQL0954C Not enough storage is available in the
application heap to process
the statement. SQLSTATE=57011
After viewing other posts, they recommended changing the applheapsz
(which was completed). We have restarted DB2. The query is not too
complex. The interesting point is that we ran the query yesterday
with no issues. The server we are testing is a new box in which
multiple "break DB2" queries were executed. This includes a cartesion
product that ran for a couple hours.
So, did I break the DB2 internal self memory manager. Queries that
ran yesterday - fail today. Also tried db2 reset database manager
configuration.
Oftentimes running out of application heap is caused by leaks in the
application.
E.g. not closing cursors properly or releasing statement handles...
Which version of DB2 is this anyway?
Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab- Hide quoted text -

- Show quoted text -

Apr 13 '07 #4
Justin wrote:
We bumped the app heap size to 12 K and it works. Not satisfied with
the change - but liveable.
Works fine db2 v 8 operating under only 4K.

Testing db2 v9 fix pack 2 - starting today. Not sure if we will come
across similar problems.
I'm no expert on that topic, but I'd look into db2pd and the db2 memory
tracker as candidates to get to the bottom of this.

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Apr 13 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ralf Gross | last post by:
Hi, I have an java application that throws the following exceptions. COM.ibm.db2.jdbc.DB2Exception -- COM.ibm.db2.jdbc.DB2Exception: SQL0973N Not enough storage is available in the...
1
by: Srinadh | last post by:
Hi all, We have files with about 20 to 30 fields per row. We are trying to update such files with about 60 rows as contiguous data in a CLOB field. It passes through. But when we try...
0
by: escobarito | last post by:
Hi, I am writing a front-end to a Perl-based web-service running against a DB2 v. 8.1 database, and every once in a while I get the following error: DBD::DB2::db prepare failed: SQL0954C Not...
4
by: zamolxe | last post by:
Only one client can connect to DB2 at a time from our office. Once a connection is established, anybody trying to connect gets the message "SQL0973N Not enough storage is available in the...
4
by: WantedToBeDBA | last post by:
Hi, I have used the command export to TABLE1.ixf of IXF lobs to lobs1 lobfile l1 modified by lobsinfile select * from TABLE1. I have got a ixf file and lobs1l1.001 file. But i don't know how to...
3
by: info | last post by:
Hallo zusammnen, ich möchte einen VARBINARY-Wert aus einer Tabelle auslesen, diesen in einer Datei speichern und später wieder in eine Tabelle einfügen. Den Wert hole ich mit einem Select und...
0
by: carj2ee | last post by:
Hi, I have a J2EE application connecting to a mainframe DB2. I am getting the following exception in my application:- SQLCODE: -904, SQLSTATE: 57011, SQLERRMC:...
6
by: cristizaharioiu | last post by:
Hello, I am beginner with db2 ( DB2 v9.1.0.1 running on RHEL 4); this is my first post. I have this error " SQL0968C The file system is full. SQLSTATE=57011"" in my instance configured with...
0
by: rseeton | last post by:
Hello, Our database (AIX DB2 8.2.9) requires regular refresh of the statistics due to data variability issues. We run this with 'detailed' to ensure that we accurately reflect the non-uniform...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.