Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Baktaawar
, 1 year ago
java.lang.OutOfMemoryError: Java heap space	at org.apache.spark.sql.catalyst.expressions.GenericMutableRow.(rows.scala:252)	at org.apache.spark.sql.execution.stat.StatFunctions$$anonfun$4.apply(StatFunctions.scala:123)	at org.apache.spark.sql.execution.stat.StatFunctions$$anonfun$4.apply(StatFunctions.scala:122)	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)	at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)	at scala.collection.immutable.HashMap$HashMap1.foreach(HashMap.scala:224)	at scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:403)	at scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:403)	at scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:403)	at scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:403)	at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)	at scala.collection.AbstractTraversable.map(Traversable.scala:105)	at org.apache.spark.sql.execution.stat.StatFunctions$.crossTabulate(StatFunctions.scala:122)	at org.apache.spark.sql.DataFrameStatFunctions.crosstab(DataFrameStatFunctions.scala:133)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:381)	at py4j.Gateway.invoke(Gateway.java:259)	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)	at py4j.commands.CallCommand.execute(CallCommand.java:79)	at py4j.GatewayConnection.run(GatewayConnection.java:209)	at java.lang.Thread.run(Thread.java:745)