Solved

Need answers on what C-Runtime heap is

Posted on 2009-05-18
9
721 Views
Last Modified: 2013-11-23
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??
0
Comment
Question by:jackjeckyl
  • 4
  • 3
9 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 24419436
This is JVM error (not able) allocating data pages from system.
0
 

Author Comment

by:jackjeckyl
ID: 24426897
So what do I do?
0
 
LVL 62

Accepted Solution

by:
gheist earned 25 total points
ID: 24429241
check ulimit -a
then use smitty to increase allowed (data ?) size to -1 or something less.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 25 total points
ID: 24464805
Might be that your Java heap is too big, so that no C heap is left for non-java-heap purposes (internal JVM functions etc.) Try to reduce it (-Xmx ... option)
0
 

Author Comment

by:jackjeckyl
ID: 24519009
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.  
0
 
LVL 62

Expert Comment

by:gheist
ID: 24520100
Yes - it uses stack extensively.
0
 

Author Comment

by:jackjeckyl
ID: 24522004
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.  
0
 
LVL 62

Expert Comment

by:gheist
ID: 24524852
I suggest doubling.
Might be you hit 13x256MB limit - patching java with ML package is known to help. Also thruput GC is better.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

792 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