Chapter 2. Preparing Ambari Server for Views
When hosting multiple views in Ambari, it is strongly recommended you increase the amount of memory available available to the Ambari Server. Since each view requires it’s own memory footprint, increasing the Ambari Server maximum allocable memory will help support multiple deployed views and concurrent use.
On the Ambari Server host, edit the ambari-env.sh file:
vi /var/lib/ambari-server/ambari-env.sh
For the
AMBARI_JVM_ARGS
variable, replace the default-Xmx2048m
with the following:-Xmx4096m -XX:PermSize=128m -XX:MaxPermSize=128m
Restart Ambari Server for this change to take effect.
ambari-server restart