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.

Datanode out of memory


Datanode out of memory

New Contributor

Hello everyone!


My cluster have 4 datanode. Each Datanode has 32G RAM.

Recently, the Datanode has been reported Exception Out Of Memory.


I looed up some document, just mentioned namenode memory situations.


CDH Manager,Host memory usage chart display physical memory is full, but The role of resident memory less than 1G.


i don't know why it took so much of physical memory. 

On the system currently has 12 million blocks



I have turn off all other services,just run the hdfs service.


Re: Datanode out of memory

Master Guru
You've mentioned the RAM of the machine your DataNode is assigned to run
on, however what is your configured DataNode Java JVM heap size? You could
try raising it by 1 GB from its current value, to resolve this.

Also, what's the entire Out of Memory message, 'cause "unable to create a
new native thread" (or summat) is entirely different than "Java heap space"
in what it implies (nproc limit issue vs. actual heap memory exhaustion).
Don't have an account?
Coming from Hortonworks? Activate your account here