If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Heap Error in DB2 UDB 8.1.6a

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-14-04, 06:55
arorahpsingh76 arorahpsingh76 is offline
Registered User
 
Join Date: Sep 2004
Posts: 5
Heap Error in DB2 UDB 8.1.6a

Hi,

We are getting following errors while execution of some Java report which internally call a Stored Procedure:

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

This error is coming when the application is being used under heavy load using WAS 5.1.
But the same have been working previously with DB UDB 7.2, under similar load condition, using WAS 4.

We tried increasing Application Heap Size as well as PCKCACHESZ also , around double than as that of DB2 7.2 configuration, but error remains.

It seems that memory handling with DB2 UDB8.1 is very much different from that of DB2 UDB7.2. May be we need to tune the database further.

Please revert back in case anybody has encountered similar situation and has some ideas/solutions regarding the same.

Thanks & Regards,
Harpreet
Reply With Quote
  #2 (permalink)  
Old 10-14-04, 08:57
quigleyd quigleyd is offline
Registered User
 
Join Date: Nov 2002
Location: Delaware
Posts: 186
You don't mention what the parm was changed too, but after we upgraded to V8, we needed to up ours to 24990, and on a second note, there is a bug that was introduced in Fixpak 3, and supposely fixed in fixpak 7, that once it allocated the package cache memory its not releasing it. Also if your increasing package cache, make sure you upping dbheap, otherwise the error might be misleading
__________________
David Quigley
Reply With Quote
  #3 (permalink)  
Old 10-15-04, 04:32
arorahpsingh76 arorahpsingh76 is offline
Registered User
 
Join Date: Sep 2004
Posts: 5
Thanks for the reply,

Params on DB2 8.1.6a, are mentioned below:
APP_CTL_HEAP_SZ : 1512
SHEAPTHRES : 25000
APPLHEAPSZ : 20000
SORTHEAP : 2048
PCKCACHESZ : 10000
DBHEAP : 12000

These are almost double than 7.2 params.
DBHeap we have not increased. Can you please guide if we should change any of the above parameters? Also any idea about the DBHeap size which we should keep.

Also, can you mention any side-effects of 8.1.7 if you have faced.

Thanks again,
Harp
Reply With Quote
  #4 (permalink)  
Old 10-15-04, 08:09
quigleyd quigleyd is offline
Registered User
 
Join Date: Nov 2002
Location: Delaware
Posts: 186
The only issues we had was with the parms not being large enough, and since we had lots of memory and it was 64 bit, it was no big deal. Also the way db2 allocates memory changed in V8, then in FP3, Fp5, and FP7. read through those depending on what level your at
__________________
David Quigley
Reply With Quote
  #5 (permalink)  
Old 10-16-04, 06:41
arorahpsingh76 arorahpsingh76 is offline
Registered User
 
Join Date: Sep 2004
Posts: 5
Many Thanks David.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On