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.

java heap space outofmemory

Solved Go to solution

java heap space outofmemory

New Contributor

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: java heap space outofmemory

New Contributor

@Jay Kumar SenSharma


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

3 REPLIES 3
Highlighted

Re: java heap space outofmemory

Super Mentor

@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-s...

Re: java heap space outofmemory

New Contributor

@Jay Kumar SenSharma


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

Re: java heap space outofmemory

New Contributor

@Jay Kumar SenSharma


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

Thxt


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