473,668 Members | 2,373 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

increase UDF_MEM and APP_CTL_HEAP_SZ size

Hi,

I have an java application that throws the following exceptions.

COM.ibm.db2.jdb c.DB2Exception -- COM.ibm.db2.jdb c.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.jdb c.DB2Exception -- COM.ibm.db2.jdb c.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 6637
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.jdb c.DB2Exception -- COM.ibm.db2.jdb c.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.jdb c.DB2Exception -- COM.ibm.db2.jdb c.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
7875
by: Raja | last post by:
How to know the buffer size and increase buffer size in c++.
5
4017
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 load the data by something like that: LOAD FROM "/pathto/artikel.data" OF DEL MODIFIED BY DATESISO CHARDEL0xbf SAVECOUNT 50000 MESSAGES "/pathto/artikel.msg" INSERT INTO artikel;
2
3846
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 datagrid to make it easier for the user to choose one using the touchscreen. How can I increase the size of the scrollbar to make it easier for the user to scroll the datagrid? i am using visual studio 2005 .
9
7320
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
4056
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 inserted and updated is coming from a remote db. The mdb file size is normally around 80MB but since running the vb.net app the mdb file size grows to 1GB or so every few days. After compact and repair the size does get back to 80MB but it is still a...
4
2021
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 .msi is 12 MB. This file works fine on all the target machines, but on the development machine every time I remove the existing .msi (from add/remove programs) and install a new version, the size increases by 13-14
5
10284
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 radiobutton Enter text for the radiobutton which is longer than the default Run it - the height of the radiobutton does not increase, and the text is truncated.
1
4622
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 increase size of Metabase.xml (In IIS) file up to 1GB. Suppose if i increase size of Metabase.xml file up to 200 MB.is there any problems i can face for other applications ? Why microsoft predefined the size of Metabase.xml file as 4MB ? ...
3
2690
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 buffer, expanding it as needed semi automatically. I've incorporated suggestions people made and published the code at http://codewiki.wikispaces.com/xbuf.c
0
8378
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8890
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8791
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8577
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8653
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6206
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4202
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2786
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.