Skip to main content
ibrahima_diatta
Gold ⭐️
March 4, 2019
Solved

java heap space outofmemory

hello
When i start nifi with ambari i get this error Java Heap Space OutofMemory but when i start it with console by script nifi.sh i get no error

ibrahima_diatta
Gold ⭐️
March 4, 2019

@Jay Kumar SenSharma


Thxt for your replay , i am using HDF 2.1.4.0-5

3 replies

jsensharma
Platinum ⭐️⭐️
Platinum ⭐️⭐️
March 4, 2019

@ibrahima diattara

Which version of HDF are you using? There was an issue reported in older version with toolkit heap setting. The default heap setting for encryption utility is -Xms128m -Xmx256m , which is hardcoded in the encrypt-config.sh script file.

Please refer to the following SupportKB which might help in fixing your issue.

https://community.hortonworks.com/content/supportkb/150267/errorjavalangoutofmemoryerror-java-heap-space-whil.html

Translate
ibrahima_diatta
ibrahima_diattaAuthorAnswer
Gold ⭐️
March 4, 2019

@Jay Kumar SenSharma


Thxt for your replay , i am using HDF 2.1.4.0-5

Translate
ibrahima_diatta
Gold ⭐️
March 5, 2019

@Jay Kumar SenSharma


I increase Xms128m -Xmx256m to Xms1024m -Xmx2048m , it solved the probleme

Thxt


Translate