java.lang.OutOfMemoryError: Java heap space

Stack Overflow | X.Bin | 5 months ago
  1. 0

    Spark streaming receiver Out of Memory (OOM)

    Stack Overflow | 5 months ago | X.Bin
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Spark Streaming: java.lang.OutOfMemoryError: Java heap space

    Stack Overflow | 10 months ago | facha
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Apache Spark User List - java.lang.OutOfMemoryError: Requested array size exceeds VM limit in window function in spark streaming

    nabble.com | 4 months ago
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Out of Memory Issue JRSwapFileVirtualizer

    Stack Overflow | 2 years ago | ManishGupta
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    MediaStreamSource and OutOfMemoryError

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.OutOfMemoryError: Java heap space

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.util.Arrays.copyOf()
    2. Java RT
      BufferedOutputStream.write
      1. java.util.Arrays.copyOf(Arrays.java:3236)[na:1.8.0_51]
      2. java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)[na:1.8.0_51]
      3. java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)[na:1.8.0_51]
      4. java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)[na:1.8.0_51]
      5. java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)[na:1.8.0_51]
      6. java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)[na:1.8.0_51]
      6 frames
    3. Kryo
      Kryo.writeClassAndObject
      1. com.esotericsoftware.kryo.io.Output.flush(Output.java:155)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      2. com.esotericsoftware.kryo.io.Output.require(Output.java:135)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      3. com.esotericsoftware.kryo.io.Output.writeString_slow(Output.java:420)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      4. com.esotericsoftware.kryo.io.Output.writeString(Output.java:326)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      5. com.esotericsoftware.kryo.serializers.DefaultSerializers$StringSerializer.write(DefaultSerializers.java:153)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      6. com.esotericsoftware.kryo.serializers.DefaultSerializers$StringSerializer.write(DefaultSerializers.java:146)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      7. com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:568)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      7 frames
    4. Spark
      BlockManager.putIterator
      1. org.apache.spark.serializer.KryoSerializationStream.writeObject(KryoSerializer.scala:194)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      2. org.apache.spark.serializer.SerializationStream.writeAll(Serializer.scala:153)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      3. org.apache.spark.storage.BlockManager.dataSerializeStream(BlockManager.scala:1196)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      4. org.apache.spark.storage.BlockManager.dataSerialize(BlockManager.scala:1202)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      5. org.apache.spark.storage.BlockManager.doPut(BlockManager.scala:858)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      6. org.apache.spark.storage.BlockManager.putIterator(BlockManager.scala:645)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      6 frames
    5. Spark Project Streaming
      BlockGenerator.pushBlock
      1. org.apache.spark.streaming.receiver.BlockManagerBasedBlockHandler.storeBlock(ReceivedBlockHandler.scala:77)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      2. org.apache.spark.streaming.receiver.ReceiverSupervisorImpl.pushAndReportBlock(ReceiverSupervisorImpl.scala:157)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      3. org.apache.spark.streaming.receiver.ReceiverSupervisorImpl.pushArrayBuffer(ReceiverSupervisorImpl.scala:128)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      4. org.apache.spark.streaming.receiver.ReceiverSupervisorImpl$$anon$3.onPushBlock(ReceiverSupervisorImpl.scala:109)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      5. org.apache.spark.streaming.receiver.BlockGenerator.pushBlock(BlockGenerator.scala:296)[ spark-assembly-1.6.1.0-baidu-SNAPSHOT-hadoop2.5.1.3-baidu-SNAPSHOT.jar:1.6.1.0-baidu-SNAPSHOT]
      5 frames