oom异常

ndh0cuux  于 2021-06-07  发布在  Kafka
关注(0)|答案(0)|浏览(245)

我已经编写了一个kafka connect jar,我得到以下错误:
我提供了 KAFKA_HEAP_OPTS="-Xmx8g"kafka-run-class . 关于连接偏移量,我还提供了50个分区。我作为docker的一部分运行它,并为容器专门设置了8GB内存。请让我知道是否有任何重要的参数设置,以确保oom异常不会抛出。

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "KafkaBasedLog Work Thread - connect-status"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "kafka-producer-network-thread | producer-4"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "kafka-producer-network-thread | producer-3"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "kafka-producer-network-thread | producer-2"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "DistributedHerder"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "qtp667346055-26"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "KafkaBasedLog Work Thread - connect-offsets"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "KafkaBasedLog Work Thread - connect-configs"
Exception in thread "org.eclipse.jetty.server.session.HashSessionManager@7d9d0818Timer" java.lang.OutOfMemoryError: Java heap space
2017-10-13 11:50:52,320 ERROR   Task METEOSATJDBCSink-0 threw an uncaught and unrecoverable exception during shutdown   (org.apache.kafka.connect.runtime.WorkerTask:123)
java.lang.OutOfMemoryError: Java heap space

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题