java.lang.OutOfMemoryError: Java heap space

GitHub | car2008 | 3 months ago
  1. 0

    Avocado-submit on Spark locally throw exception

    GitHub | 3 months ago | car2008
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Re: Spark - Timeout Issues - OutOfMemoryError

    apache.org | 11 months ago
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Re: Spark - Timeout Issues - OutOfMemoryError

    mail-archive.com | 1 year ago
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Spark - Timeout Issues - OutOfMemoryError

    apache.org | 1 year ago
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    Re: Spark - Timeout Issues - OutOfMemoryError

    apache.org | 1 year ago
    java.lang.OutOfMemoryError: Java heap space

  1. poroszd 1 times, last 1 month ago
  2. sriharshakiran 1 times, last 7 months ago
  3. thilo 33 times, last 8 months ago
  4. dmitry 3 times, last 8 months ago
5 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
    ArrayList.add
    1. java.util.Arrays.copyOf(Arrays.java:3181)
    2. java.util.ArrayList.grow(ArrayList.java:261)
    3. java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:235)
    4. java.util.ArrayList.ensureCapacityInternal(ArrayList.java:227)
    5. java.util.ArrayList.add(ArrayList.java:458)
    5 frames
  3. Kryo
    Kryo.readClassAndObject
    1. com.esotericsoftware.kryo.util.MapReferenceResolver.nextReadId(MapReferenceResolver.java:33)
    2. com.esotericsoftware.kryo.Kryo.readReferenceOrNull(Kryo.java:766)
    3. com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:727)
    4. com.esotericsoftware.kryo.serializers.DefaultArraySerializers$ObjectArraySerializer.read(DefaultArraySerializers.java:338)
    5. com.esotericsoftware.kryo.serializers.DefaultArraySerializers$ObjectArraySerializer.read(DefaultArraySerializers.java:293)
    6. com.esotericsoftware.kryo.Kryo.readObject(Kryo.java:648)
    7. com.esotericsoftware.kryo.serializers.FieldSerializer$ObjectField.read(FieldSerializer.java:605)
    8. com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java:221)
    9. com.esotericsoftware.kryo.Kryo.readClassAndObject(Kryo.java:729)
    9 frames
  4. Spark
    ExternalAppendOnlyMap$DiskMapIterator.hasNext
    1. org.apache.spark.serializer.KryoDeserializationStream.readObject(KryoSerializer.scala:228)
    2. org.apache.spark.serializer.DeserializationStream.readValue(Serializer.scala:171)
    3. org.apache.spark.util.collection.ExternalAppendOnlyMap$DiskMapIterator.readNextItem(ExternalAppendOnlyMap.scala:478)
    4. org.apache.spark.util.collection.ExternalAppendOnlyMap$DiskMapIterator.hasNext(ExternalAppendOnlyMap.scala:498)
    4 frames
  5. Scala
    Iterator$$anon$1.hasNext
    1. scala.collection.Iterator$$anon$1.hasNext(Iterator.scala:847)
    1 frame
  6. Spark
    ExternalAppendOnlyMap$ExternalIterator$$anonfun$5.apply
    1. org.apache.spark.util.collection.ExternalAppendOnlyMap$ExternalIterator.org$apache$spark$util$collection$ExternalAppendOnlyMap$ExternalIterator$$readNextHashCode(ExternalAppendOnlyMap.scala:295)
    2. org.apache.spark.util.collection.ExternalAppendOnlyMap$ExternalIterator$$anonfun$5.apply(ExternalAppendOnlyMap.scala:279)
    3. org.apache.spark.util.collection.ExternalAppendOnlyMap$ExternalIterator$$anonfun$5.apply(ExternalAppendOnlyMap.scala:277)
    3 frames
  7. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:318)
    1 frame
  8. Spark
    RDD.computeOrReadCheckpoint
    1. org.apache.spark.util.collection.ExternalAppendOnlyMap$ExternalIterator.<init>(ExternalAppendOnlyMap.scala:277)
    2. org.apache.spark.util.collection.ExternalAppendOnlyMap.iterator(ExternalAppendOnlyMap.scala:253)
    3. org.apache.spark.Aggregator.combineValuesByKey(Aggregator.scala:47)
    4. org.apache.spark.shuffle.BlockStoreShuffleReader.read(BlockStoreShuffleReader.scala:89)
    5. org.apache.spark.rdd.ShuffledRDD.compute(ShuffledRDD.scala:98)
    6. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
    7. org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
    8. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
    9. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
    9 frames