Re: getting an error about: java.lang.OutOfMemoryError: Direct buffer memory

2016-11-16 Thread Wei Li
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

getting an error about: java.lang.OutOfMemoryError: Direct buffer memory

2016-11-15 Thread Vytenis Silgalis
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