473,325 Members | 2,771 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,325 software developers and data experts.

increase UDF_MEM and APP_CTL_HEAP_SZ size

Hi,

I have an java application that throws the following exceptions.

COM.ibm.db2.jdbc.DB2Exception -- COM.ibm.db2.jdbc.DB2Exception:
[IBM][CLI Driver][DB2/LINUX] SQL0973N Not enough storage is available
in the "UDF_MEM" heap to process the statement. SQLSTATE=57011

COM.ibm.db2.jdbc.DB2Exception -- COM.ibm.db2.jdbc.DB2Exception:
[IBM][CLI Driver][DB2/LINUX] SQL0954C Not enough storage is available
in the application heap to process the statement. SQLSTATE=57011
Do you have the following settings:

I know that I can increase the UDF_MEM size and APP_CTL_HEAP_SZ size
with the following statements.

db2 update dbm cfg using udf_mem_sz nnnn

db2 update db cfg for <db> using app_ctl_heap_sz nnnn

Is there a problem with the existing database <db>, or do I have to make
a backup of the <db> and restore it after issuing this update?

tia

Ralf
Nov 12 '05 #1
2 6599
There's no need to bacup the database after thse commands. Depending on
which version of DB2 you're on, you may have to do a db2start to restart
the instance.

Ralf Gross wrote:
Hi,

I have an java application that throws the following exceptions.

COM.ibm.db2.jdbc.DB2Exception -- COM.ibm.db2.jdbc.DB2Exception:
[IBM][CLI Driver][DB2/LINUX] SQL0973N Not enough storage is available
in the "UDF_MEM" heap to process the statement. SQLSTATE=57011

COM.ibm.db2.jdbc.DB2Exception -- COM.ibm.db2.jdbc.DB2Exception:
[IBM][CLI Driver][DB2/LINUX] SQL0954C Not enough storage is available
in the application heap to process the statement. SQLSTATE=57011
Do you have the following settings:

I know that I can increase the UDF_MEM size and APP_CTL_HEAP_SZ size
with the following statements.

db2 update dbm cfg using udf_mem_sz nnnn

db2 update db cfg for <db> using app_ctl_heap_sz nnnn

Is there a problem with the existing database <db>, or do I have to make
a backup of the <db> and restore it after issuing this update?

tia

Ralf


Nov 12 '05 #2
Blair Adamache wrote:
There's no need to bacup the database after thse commands. Depending on
which version of DB2 you're on, you may have to do a db2start to restart
the instance.


I think I have to restart the database, but that's not a problem.

Thanks

Ralf
Nov 12 '05 #3

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

Similar topics

12
by: Raja | last post by:
How to know the buffer size and increase buffer size in c++.
5
by: Olaf Gschweng | last post by:
We're new into DB2 and have some problem with DB2 8.1 (?) on a Linux system. We load some big tables of a DB2 database from files every day. We do a "DELETE FROM table" for each table and then we...
2
by: msnews.microsoft.com | last post by:
Hi all I am working on an application for a touch screen terminal. I have placed a datagrid on the form and the user will select a row on the datagrid. I have increased the font size on the...
9
by: Ajay | last post by:
Hi all, Can I know what is the stack space and heap space allocated by the compiler.Can i increase it or decrease it.if yes,pleae tell me theway to do it.Thanks in advance. Cheers, Ajay
5
by: John | last post by:
Hi I have a typical front end/back end access app. Additionally a vb.net app accesses the backend mdb file every few minutes and runs insert and update queries on some table. The data to be...
4
by: =?Utf-8?B?R2F1cmF2?= | last post by:
Hello... I posted this a couple of weeks back, but could't get a reply, so trying again! I use the Setup project in C# to create a .msi file to be distributed to the clients. The size of...
5
by: BillE | last post by:
I am using VB.NET, VS 2005 Add a windows form and in design view: Add a Radiobutton to the windows form Set AutoSize = True for the radiobutton Set the MaximumSize width to 90 for the...
1
by: nagmvs | last post by:
Hello I am unable to upload More than 200kb in to my server and also i can downlaod only less than 4MB file from my server .When i am searching in internet i found solution as u can...
3
by: James Harris | last post by:
Do you remember a previous discussion on this newsgroup as at http://groups.google.com/group/comp.lang.c/browse_frm/thread/cb502ce8414cea06/bb738c4f91113b4e It concerned code to manage a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.