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

Out of Memory with Sentry in CDH 5.13.0...


Out of Memory with Sentry in CDH 5.13.0...


Hi all,

I'm having some problem with Sentry Server Service with CDH 5.13.0, I get always the Out Of Memory Error (see details below). I set the Java Heap Size of Sentry Server to 20GB but nothing changes.


So how many memory needs Sentry in this distribution in order to work properly? I installed also the last JDK 1.8 recommended/tested by Cloudera Support (jdk1.8.0_144), in order to avoid the OOM problems described in this page: Sentry process crashes with OOM upon reaching array length limit -> (


Wed Mar 14 10:00:34 CET 2018
using /usr/java/jdk1.8.0_144 as JAVA_HOME
using 5 as CDH_VERSION
java.lang.OutOfMemoryError: Java heap space
Dumping heap to /tmp/sentry_sentry-SENTRY_SERVER-d10c9b77dd1630224482e04687363c69_pid45642.hprof ...
Heap dump file created [14390378080 bytes in 18.036 secs]
# java.lang.OutOfMemoryError: Java heap space
# -XX:OnOutOfMemoryError="/usr/lib64/cmf/service/common/"
#   Executing /bin/sh -c "/usr/lib64/cmf/service/common/"...


Any help on this issue will be appreciated!

Many thanks in advance!