java.lang.OutOfMemoryError: Java heap space

Stack Overflow | user2021147 | 4 months ago
  1. 0

    Spark out of memory exception

    Stack Overflow | 4 months ago | user2021147
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    out of memory when trying to load large matrices

    GitHub | 3 years ago | ngehlenborg
    java.lang.OutOfMemoryError: Java heap space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Using Stanford CoreNLP - Java heap space

    Stack Overflow | 3 years ago | Isabelle Augenstein
    java.lang.OutOfMemoryError: Java heap space
  5. 0

    logistic regression running slowly and failing on >3 iterations

    Google Groups | 3 years ago | Jay Yonamine
    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
      String.split
      1. java.util.Arrays.copyOf(Arrays.java:2245)
      2. java.util.Arrays.copyOf(Arrays.java:2219)
      3. java.util.ArrayList.grow(ArrayList.java:242)
      4. java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:216)
      5. java.util.ArrayList.ensureCapacityInternal(ArrayList.java:208)
      6. java.util.ArrayList.add(ArrayList.java:440)
      7. java.lang.String.split(String.java:2288)
      8. java.lang.String.split(String.java:2355)
      8 frames
    3. Unknown
      StreamingEngine1$$anonfun$4$$anonfun$7.apply
      1. StreamingEngine1$$anonfun$4$$anonfun$7.apply(StreamEngine1.scala:249)
      2. StreamingEngine1$$anonfun$4$$anonfun$7.apply(StreamEngine1.scala:249)
      2 frames
    4. Scala
      AbstractIterator.toArray
      1. scala.collection.Iterator$$anon$11.next(Iterator.scala:370)
      2. scala.collection.Iterator$class.foreach(Iterator.scala:742)
      3. scala.collection.AbstractIterator.foreach(Iterator.scala:1194)
      4. scala.collection.generic.Growable$class.$plus$plus$eq(Growable.scala:59)
      5. scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:104)
      6. scala.collection.mutable.ArrayBuffer.$plus$plus$eq(ArrayBuffer.scala:48)
      7. scala.collection.TraversableOnce$class.to(TraversableOnce.scala:308)
      8. scala.collection.AbstractIterator.to(Iterator.scala:1194)
      9. scala.collection.TraversableOnce$class.toBuffer(TraversableOnce.scala:300)
      10. scala.collection.AbstractIterator.toBuffer(Iterator.scala:1194)
      11. scala.collection.TraversableOnce$class.toArray(TraversableOnce.scala:287)
      12. scala.collection.AbstractIterator.toArray(Iterator.scala:1194)
      12 frames
    5. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.rdd.RDD$$anonfun$collect$1$$anonfun$12.apply(RDD.scala:927)
      2. org.apache.spark.rdd.RDD$$anonfun$collect$1$$anonfun$12.apply(RDD.scala:927)
      3. org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)
      4. org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)
      5. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
      6. org.apache.spark.scheduler.Task.run(Task.scala:89)
      7. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
      7 frames
    6. 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:744)
      3 frames