Solved

NOT ENOUGH STORAGE IS AVAILABLE IN THE "UDF_MEM" HEAP

Posted on 2003-11-10
3
699 Views
Last Modified: 2013-11-15
Hi,
 I hit error below,
SQLSTATE=57011 NOT ENOUGH STORAGE IS AVAILABLE IN THE "UDF_MEM" HEAP TO PROCESS STATEMENT

Any solutions? guess need to increase ''UDF_MEM". How to increase then?

Thanks in advance,
skkl

0
Comment
Question by:soekkwan
3 Comments
 
LVL 18

Accepted Solution

by:
BigSchmuh earned 20 total points
ID: 9720814
Well, this looks very common in the DB2 world as this dbms is so hard to define its memory usage.
The parameter which define this UDF_MEM heap is a DBM parameter named UDF_MEM_SZ
==> To modify it, open a db2 command line processor and issue:
          UPDATE DBM CFG USING UDF_MEM_SZ=512
You can as well modify it from the ControlCenter using "Configure" menu on your instance.
Whatever the case, you need to stop (db2stop) and restart (db2start) your instance for this new param to be effective.

I think you can check the db2diag.log of your instance BEFORE increasing this parameter as increasing this parameter may not be the good choice if your memory low problem comes from a too big use of memory for private sort (for example)...

Hope this helps.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question