Solved

Need answers on what C-Runtime heap is

Posted on 2009-05-18
9
719 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
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.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AS400 BRMS - none enrolled tape 6 56
jar file executable 12 52
tomcat administrtor 12 48
Error in @AspectJ Based AOP with Spring 2 13
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
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…

803 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