Increasing Zookeeper Heap Size.
In Location
Add the following entry to set zookeeper max heapsize to
$ZOOKEEEPER_HOME/conf/java.env
create a file if it does not exist.Add the following entry to set zookeeper max heapsize to
2048
MB. Then restart the zookeeper service.export JVMFLAGS="-Xmx2048m"
Similarly we can set
-Xms
and Other Java Options as required.
Comments
Post a Comment