Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Catalogd -- OutOfMemoryError: Java heap space

Catalogd -- OutOfMemoryError: Java heap space

Explorer
Hi, Why the catalogd was not killd when there are many "catalog-server.cc:279] OutOfMemoryError: Java heap space" in catalogd.ERROR? The "JAVA_TOOL_OPTIONS: -Xms4294967296 -Xmx4294967296 -XX:OnOutOfMemoryError=/opt/cm/lib64/cmf/service/common/killparent.sh" is set. I'm using the CDH 5.7.1
3 REPLIES 3

Re: Catalogd -- OutOfMemoryError: Java heap space

Super Collaborator

Maybe the checkbox for auto restart is checked ?

If yes, the process will be automaticaly restarted after each oom.

Re: Catalogd -- OutOfMemoryError: Java heap space

Explorer
The checkbox for auto restart is checked. Why the exception 'OutOfMemoryError' is catched? If catched, the daemon will not be killed.

Re: Catalogd -- OutOfMemoryError: Java heap space

Super Collaborator

When you say that you can see a lot of OOM exception in the logs, I assume that the service has restarted after each OOM leading to the next OOM, leading to the next OOM... (because the checkbox is checked)

Don't have an account?
Coming from Hortonworks? Activate your account here