java.lang.OutOfMemoryError: Java heap space

Stack Overflow | EXP0 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Spark: out of memory when broadcasting objects

    Stack Overflow | 8 months ago | EXP0
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Re: Spark Application Master on Yarn client mode - Virtual memory limit

    spark-user | 1 year ago | Olivier Girardot
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Re: Spark Application Master on Yarn client mode - Virtual memory limit

    spark-user | 1 year ago | Olivier Girardot
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Spark Application Master on Yarn client mode - Virtual memory limit

    spark-user | 1 year ago | Olivier Girardot
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    Re: Spark Application Master on Yarn client mode - Virtual memory limit

    incubator-spark-user | 1 year ago | Olivier Girardot
    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.IdentityHashMap.resize()
    2. Java RT
      IdentityHashMap.put
      1. java.util.IdentityHashMap.resize(IdentityHashMap.java:469)
      2. java.util.IdentityHashMap.put(IdentityHashMap.java:445)
      2 frames
    3. Spark
      SparkContext.broadcast
      1. org.apache.spark.util.SizeEstimator$SearchState.enqueue(SizeEstimator.scala:159)
      2. org.apache.spark.util.SizeEstimator$.visitArray(SizeEstimator.scala:229)
      3. org.apache.spark.util.SizeEstimator$.visitSingleObject(SizeEstimator.scala:194)
      4. org.apache.spark.util.SizeEstimator$.org$apache$spark$util$SizeEstimator$$estimate(SizeEstimator.scala:186)
      5. org.apache.spark.util.SizeEstimator$.estimate(SizeEstimator.scala:54)
      6. org.apache.spark.util.collection.SizeTracker$class.takeSample(SizeTracker.scala:78)
      7. org.apache.spark.util.collection.SizeTracker$class.afterUpdate(SizeTracker.scala:70)
      8. org.apache.spark.util.collection.SizeTrackingVector.$plus$eq(SizeTrackingVector.scala:31)
      9. org.apache.spark.storage.MemoryStore.unrollSafely(MemoryStore.scala:278)
      10. org.apache.spark.storage.MemoryStore.putIterator(MemoryStore.scala:165)
      11. org.apache.spark.storage.MemoryStore.putIterator(MemoryStore.scala:143)
      12. org.apache.spark.storage.BlockManager.doPut(BlockManager.scala:801)
      13. org.apache.spark.storage.BlockManager.putIterator(BlockManager.scala:648)
      14. org.apache.spark.storage.BlockManager.putSingle(BlockManager.scala:1006)
      15. org.apache.spark.broadcast.TorrentBroadcast.writeBlocks(TorrentBroadcast.scala:99)
      16. org.apache.spark.broadcast.TorrentBroadcast.<init>(TorrentBroadcast.scala:85)
      17. org.apache.spark.broadcast.TorrentBroadcastFactory.newBroadcast(TorrentBroadcastFactory.scala:34)
      18. org.apache.spark.broadcast.BroadcastManager.newBroadcast(BroadcastManager.scala:63)
      19. org.apache.spark.SparkContext.broadcast(SparkContext.scala:1327)
      19 frames