Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2054 Fix Kafka transient unit test failures
  3. KAFKA-3872

OOM while running Kafka Streams integration tests

    XMLWordPrintableJSON

    Details

      Description

      Failures:
      org.apache.kafka.streams.integration.FanoutIntegrationTest.classMethod
      org.apache.kafka.streams.integration.WordCountIntegrationTest.classMethod

      Stracktrace:

      java.lang.OutOfMemoryError: Java heap space
      	at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57)
      	at java.nio.ByteBuffer.allocate(ByteBuffer.java:335)
      	at kafka.log.SkimpyOffsetMap.<init>(OffsetMap.scala:43)
      	at kafka.log.LogCleaner$CleanerThread.<init>(LogCleaner.scala:193)
      	at kafka.log.LogCleaner$$anonfun$1.apply(LogCleaner.scala:83)
      	at kafka.log.LogCleaner$$anonfun$1.apply(LogCleaner.scala:83)
      	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      	at scala.collection.immutable.Range.foreach(Range.scala:141)
      	at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      	at scala.collection.AbstractTraversable.map(Traversable.scala:105)
      	at kafka.log.LogCleaner.<init>(LogCleaner.scala:83)
      	at kafka.log.LogManager.<init>(LogManager.scala:66)
      	at kafka.server.KafkaServer.createLogManager(KafkaServer.scala:609)
      	at kafka.server.KafkaServer.startup(KafkaServer.scala:183)
      	at kafka.utils.TestUtils$.createServer(TestUtils.scala:132)
      	at kafka.utils.TestUtils.createServer(TestUtils.scala)
      	at org.apache.kafka.streams.integration.utils.KafkaEmbedded.<init>(KafkaEmbedded.java:79)
      	at org.apache.kafka.streams.integration.utils.EmbeddedSingleNodeKafkaCluster.start(EmbeddedSingleNodeKafkaCluster.java:54)
      	at 
      

      Two builds:
      https://builds.apache.org/job/kafka-trunk-jdk8/704/
      https://builds.apache.org/job/kafka-trunk-jdk8/705

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                enothereska Eno Thereska
                Reporter:
                ijuma Ismael Juma
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: