ambari failed to start



0
this is the error message
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

2 Answer(s)


0

hi Sankarasubramanian,

Ambari requires atleast 4GB of RAM, which means your VM should have 8GB to run it smoothly.

Please check the RAM that was allocated.

Thanks

0

hi Sankarasubramanian,

I have the same problem as well. I figured to look in /var/log/ambari-server/ambari-server.out

I have 8GB Ram machine, which I bought just for Hadoop. Based on my research, I am thinking to set _JAVA_OPTIONS

export _JAVA_OPTIONS="-Xmx256M"

... in the profile where we set the JAVA_HOME. Please let me know if this is a viable solution. If not, how did you solve it.

Thanks,
Mike C