java.lang.OutOfMemoryError is not really necessary directly related with
memory usage. In your config, it requests only 1G. If your system is not
stressed, I would suggest you to check ulimit for kafka runtime user,
particularly check max number of open file descriptor and max number of
processes
kafka version - 0.9.0.0
JVM flags:
-Xmx1G -Xms1G -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20
-XX:InitiatingHeapOccupancyPercent=35 -XX:+DisableExplicitGC
-Djava.awt.headless=true
It's not easily reproducible but has caused some issues for us, any insight
would be appreciated.
Full stack:
[2016-1