In general ZK does not bound the heap size. The default is to use whatever the JVM prefers, which is typically based on available host memory. You can override this using JVMFLAGS.
Patrick On Thu, Nov 10, 2011 at 1:47 PM, Ed Sexton <[email protected]> wrote: > Hello Group- > > I am running CDH zookeeper version 3.3.3+12.12 and noticed that zookeeper > is running with a heapsize of 6477m. > > I start zookeeper standalone, via /etc/init.d/hadoop-zookeeper-server. I > do not see reference to any ZOOKEEPER_HEAPIZE in the startup or zoo.cfg, > nor do I see any special JVMFLAGS in export/usr/bin/zookeeper-server, which > is what is called by the startup script, it just has this definition: > > JVMFLAGS=-Dzookeeper.log.threshold=INFO > > Can someone guide me to where the 6GB heapsize is being referenced? This > seems a bit large of a heap. > > Thanks for your guidance. > > Sincerely, > Ed >
