Link to home
Start Free TrialLog in
Avatar of jackjeckyl
jackjeckyl

asked on

Need answers on what C-Runtime heap is

We recently did an upgrade to DB2 and even more recently OnDemand (an IBM image archive app) on our AIX box and now we're having huge problems running an application.  We are trying to configure JProbe to help, but in the meantime I'd like more information on the error.  The error is the following:

JVMCL052 - Cannot allocate memory in initializeHeap for heap segment

From my understanding, this is NOT the java heap.  Read these comments below:

"The C-runtime heap of the process (not the Java object heap) is full. Increase the heap if that is possible in your environment. In a shared classes environment, see the shared classes User Guide for options that control shared memory, because the storage is managed by the JVM in this case."

The app is being ran on AIX version 5.3.  I don't know what C-runtime heap is or how to increase it.  I'm not the AIX administrator and my request has fallen on deaf ears.  This app ran much smoother in the past, so I know something with the OnDemand or DB2 upgrade has leached the AIX resources.  

Can someone help??
Avatar of gheist
gheist
Flag of Belgium image

This is JVM error (not able) allocating data pages from system.
Avatar of jackjeckyl
jackjeckyl

ASKER

So what do I do?
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
gheist - everything is set to unlimited, except stack (32768), coredump (2048) and nofiles (2000).  Does any of that need to be changed.

woolmilkporc - I'll try reducing the java heap, although this was set low to begin with when I had these problems.  
Yes - it uses stack extensively.
woolmilkporc - Your suggestion worked, somewhat.  I lowered it, and now it seems to be running better on the bigger jobs the application encounters.  However, I do get java heap errors sporadically.  I went from 2GB to 1.5GB.  Maybe I'll bump it to 1.75GB and see what happens.  

gheist - Increase the stack to what value?  I'm AIX illiterate, so if I suggest something to the AIX admins, I need to tell them what and how come.  
I suggest doubling.
Might be you hit 13x256MB limit - patching java with ML package is known to help. Also thruput GC is better.