Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

java heap space outofmemory

avatar

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

avatar

@Jay Kumar SenSharma


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

View solution in original post

3 REPLIES 3

avatar
Master 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...

avatar

@Jay Kumar SenSharma


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

avatar

@Jay Kumar SenSharma


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

Thxt