Hi All,

I encountered once kafka OOM, then I add a monitor to monitor Heap Memory
of Kafka.

here is a current status, I set kafka heap max is 96G. you can see it
changes significant. so anyone can help to point out where the problem is?
thanks in advance.

kafka version: 1.0.0

VM parameters:
-Xmx96G -Xms96G -XX:+UseG1GC -XX:MaxGCPauseMillis=20
-XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent
-Djava.awt.headless=true
-Xloggc:/home/ec2-user/kafka_2.11-1.0.0/bin/../logs/kafkaServer-gc.log
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps
-XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10
-XX:GCLogFileSize=100M
some configuration:
max.message.bytes=104857600
replica.fetch.max.bytes=104857600
max.request.size=104857600
fetch.message.max.bytes=104857600

[image: image.png]

[image: image.png]

Reply via email to