Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

How to Increase the Ambari Heap Size?

avatar
Super Collaborator

Where can I increase and set the Ambari heap size?

1 ACCEPTED SOLUTION

avatar
New Member

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
New Member

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