java.lang.OutOfMemoryError: Java heap space

Google Groups | Kim Trang Le | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Out of memory when training 2GB logs.

    Google Groups | 1 year ago | Kim Trang Le
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Out of memory when training 2GB logs.

    Google Groups | 1 year ago | Kim Trang Le
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Set application memory size from PySpark shell

    Stack Overflow | 3 years ago | jyotiska
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Storagelevel in spark RDD MEMORY_AND_DISK_2() throw exception

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

    Re: Saving calculation to single local file

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

  1. Handemelindo 1 times, last 1 month ago
2 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
    ObjectOutputStream.writeObject
    1. java.util.Arrays.copyOf(Arrays.java:2271)
    2. java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
    3. java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
    4. java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140)
    5. java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1876)
    6. java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1785)
    7. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1188)
    8. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
    8 frames
  3. Spark
    Executor$TaskRunner.run
    1. org.apache.spark.serializer.JavaSerializationStream.writeObject(JavaSerializer.scala:44)
    2. org.apache.spark.serializer.JavaSerializerInstance.serialize(JavaSerializer.scala:81)
    3. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:236)
    3 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:745)[ERROR]
    3 frames