java.lang.OutOfMemoryError: Java heap space

Stack Overflow | Baktaawar | 7 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

    Converting Pandas Code to Spark code

    Stack Overflow | 7 months ago | Baktaawar
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    NullPointerException produced by com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#5

    Stack Overflow | 3 years ago | Vishal Singh
    java.lang.OutOfMemoryError: Java heap space </code></pre> <p>And </p> <pre><code> Exception in thread "http-8080-149" at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.lang.OutOfMemoryError: Java heap space | Oracle Community

    oracle.com | 12 months ago
    java.lang.OutOfMemoryError: Java heap space - - - -
  5. 0

    [elasticsearch] server failed excpetion - Grokbase

    grokbase.com | 9 months ago
    java.lang.OutOfMemoryError: Java heap space at org.elasticsearch.common.compress.lzf.BufferRecycler.allocDecodeBuffer(BufferRecycler.java:150) at org.elasticsearch.common.io.stream.LZFStreamInput.<init>(LZFStreamInput.java:91) at org.elasticsearch.common.io.stream.CachedStreamInput.instance(CachedStreamInput.java:48) at org.elasticsearch.common.io.stream.CachedStreamInput.getCharArray(CachedStreamInput.java:79) at org.elasticsearch.common.io.stream.StreamInput.readUTF(StreamInput.java:160) at org.elasticsearch.common.io.stream.HandlesStreamInput.readUTF(HandlesStreamInput.java:49) at org.elasticsearch.action.index.IndexResponse.readFrom(IndexResponse.java:142) at org.elasticsearch.transport.netty.MessageChannelHandler.handleResponse(MessageChannelHandler.java:254) at org.elasticsearch.transport.netty.MessageChannelHandler.process(MessageChannelHandler.java:233) at org.elasticsearch.transport.netty.MessageChannelHandler.callDecode(MessageChannelHandler.java:141) at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:95) at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559) at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:94) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:364) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:238) at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:38) at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

    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 org.apache.spark.sql.catalyst.expressions.GenericMutableRow.<init>()
    2. Spark Project Catalyst
      GenericMutableRow.<init>
      1. org.apache.spark.sql.catalyst.expressions.GenericMutableRow.<init>(rows.scala:252)
      1 frame
    3. org.apache.spark
      StatFunctions$$anonfun$4.apply
      1. org.apache.spark.sql.execution.stat.StatFunctions$$anonfun$4.apply(StatFunctions.scala:123)
      2. org.apache.spark.sql.execution.stat.StatFunctions$$anonfun$4.apply(StatFunctions.scala:122)
      2 frames
    4. Scala
      AbstractTraversable.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      3. scala.collection.immutable.HashMap$HashMap1.foreach(HashMap.scala:224)
      4. scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:403)
      5. scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:403)
      6. scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:403)
      7. scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:403)
      8. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      9. scala.collection.AbstractTraversable.map(Traversable.scala:105)
      9 frames
    5. org.apache.spark
      StatFunctions$.crossTabulate
      1. org.apache.spark.sql.execution.stat.StatFunctions$.crossTabulate(StatFunctions.scala:122)
      1 frame
    6. Spark Project SQL
      DataFrameStatFunctions.crosstab
      1. org.apache.spark.sql.DataFrameStatFunctions.crosstab(DataFrameStatFunctions.scala:133)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    8. Py4J
      GatewayConnection.run
      1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)
      2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:381)
      3. py4j.Gateway.invoke(Gateway.java:259)
      4. py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)
      5. py4j.commands.CallCommand.execute(CallCommand.java:79)
      6. py4j.GatewayConnection.run(GatewayConnection.java:209)
      6 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame