You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Florian Hussonnois <fh...@gmail.com> on 2016/01/25 21:53:05 UTC
how to set the Java heap of brokers
Hi,
I'm looking for any recommendations on how to set the Java heap of brokers.
I have found details on GC configuration but 6g looks very high fo me.
-Xms6g -Xmx6g -XX:MetaspaceSize=96m -XX:+UseG1GC -XX:MaxGCPauseMillis=20
-XX:InitiatingHeapOccupancyPercent=35 -XX:G1HeapRegionSize=16M
-XX:MinMetaspaceFreeRatio=50 -XX:MaxMetaspaceFreeRatio=80
I would like to understand what brokers actually maintain in-memory.
Is anybody have some links which may explain that point ?
Thank you in advance.
--
Florian HUSSONNOIS