Support Questions

Find answers, ask questions, and share your expertise

How to Increase the Ambari Heap Size?

avatar
Super Collaborator

Where can I increase and set the Ambari heap size?

1 ACCEPTED SOLUTION

avatar
Contributor

If you're looking for the server settings:

Edit the following file on the Ambari Server:

/var/lib/ambari-server/ambari-env.sh and replace the value of the -Xmx2048m argument with the desired setting, such as:

-Xmx4096m -XX:PermSize=128m -XX:MaxPermSize=128m.

Restart the Ambari Server to apply this change:

View solution in original post

2 REPLIES 2

avatar
Contributor

If you're looking for the server settings:

Edit the following file on the Ambari Server:

/var/lib/ambari-server/ambari-env.sh and replace the value of the -Xmx2048m argument with the desired setting, such as:

-Xmx4096m -XX:PermSize=128m -XX:MaxPermSize=128m.

Restart the Ambari Server to apply this change:

avatar