Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-7809

Getting uncaught exception in kafka-producer-network-thread | producer-7686: java.lang.OutOfMemoryError: Java heap space

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: log
    • Labels:
      None
    • Environment:
      Performance

      Description

      Getting uncaught exception in kafka-producer-network-thread | producer-7686: java.lang.OutOfMemoryError: Java heap space 

      Env: Performance environment

       

      Kafka Verison : 0.9.0.1

      Kafka Set up : it is a  3 nodes single cluster environment.

      Appserver : Weblogic 

      Logs : 

      <Jan 9, 2019 5:15:33 AM CST> <Error> <Server> <BEA-002608> <The ListenThread failed because of an error: java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      >
      Jan 09, 2019 5:09:09 AM org.apache.kafka.common.utils.KafkaThread$1 uncaughtException
      SEVERE: Uncaught exception in kafka-producer-network-thread | producer-7686:
      java.lang.OutOfMemoryError: Java heap space
      at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:68)
      at java.lang.StringBuilder.<init>(StringBuilder.java:89)
      at java.net.InetAddress.toString(InetAddress.java:725)
      at org.apache.kafka.common.network.KafkaChannel.socketDescription(KafkaChannel.java:117)
      at org.apache.kafka.common.network.Selector.poll(Selector.java:305)
      at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:256)
      at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:216)
      at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:128)
      at java.lang.Thread.run(Thread.java:748)

      <Jan 9, 2019 5:09:09 AM CST> <Error> <org.apache.kafka.common.utils.KafkaThread> <BEA-000000> <Uncaught exception in kafka-producer-network-thread | producer-7686:
      java.lang.OutOfMemoryError: Java heap space
      at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:68)
      at java.lang.StringBuilder.<init>(StringBuilder.java:89)
      at java.net.InetAddress.toString(InetAddress.java:725)
      at org.apache.kafka.common.network.KafkaChannel.socketDescription(KafkaChannel.java:117)
      at org.apache.kafka.common.network.Selector.poll(Selector.java:305)
      Truncated. see log file for complete stacktrace
      >

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sumankghosh123 Suman Kalyan Ghosh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: