[ https://issues.apache.org/jira/browse/KAFKA-3872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15341178#comment-15341178 ]
ASF GitHub Bot commented on KAFKA-3872: --------------------------------------- GitHub user enothereska opened a pull request: https://github.com/apache/kafka/pull/1533 KAFKA-3872: Reduce log cleaner buffer size to 2 MB You can merge this pull request into a Git repository by running: $ git pull https://github.com/enothereska/kafka KAFKA-3872-oom-integration-tests Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1533.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1533 ---- commit 8d92325e7fbdfd65b64a9bcbee08ebabb861d2b5 Author: Eno Thereska <eno.there...@gmail.com> Date: 2016-06-21T06:08:06Z Reduce log cleaner buffer size to 2 MB ---- > OOM while running Kafka Streams integration tests > ------------------------------------------------- > > Key: KAFKA-3872 > URL: https://issues.apache.org/jira/browse/KAFKA-3872 > Project: Kafka > Issue Type: Sub-task > Components: streams, unit tests > Reporter: Ismael Juma > Assignee: Eno Thereska > Labels: transient-unit-test-failure > > Failures: > org.apache.kafka.streams.integration.FanoutIntegrationTest.classMethod > org.apache.kafka.streams.integration.WordCountIntegrationTest.classMethod > Stracktrace: > {code} > 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 > {code} > Two builds: > https://builds.apache.org/job/kafka-trunk-jdk8/704/ > https://builds.apache.org/job/kafka-trunk-jdk8/705 -- This message was sent by Atlassian JIRA (v6.3.4#6332)