java.lang.OutOfMemoryError

GC overhead limit exceeded

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web8

  • via Unknown by Hagai Attias,
  • via Stack Overflow by zfz
    ,
  • Stack trace

    • java.lang.OutOfMemoryError: GC overhead limit exceeded at scala.collection.immutable.HashMap$HashTrieMap.updated0(HashMap.scala:328) at scala.collection.immutable.HashMap.$plus(HashMap.scala:57) at scala.collection.immutable.HashMap.$plus(HashMap.scala:36) at scala.collection.mutable.MapBuilder.$plus$eq(MapBuilder.scala:28) at scala.collection.mutable.MapBuilder.$plus$eq(MapBuilder.scala:24) at scala.collection.TraversableOnce$$anonfun$toMap$1.apply(TraversableOnce.scala:280) at scala.collection.TraversableOnce$$anonfun$toMap$1.apply(TraversableOnce.scala:279) at scala.collection.Iterator$class.foreach(Iterator.scala:727) at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) at scala.collection.TraversableOnce$class.toMap(TraversableOnce.scala:279) at scala.collection.AbstractIterator.toMap(Iterator.scala:1157) at com.twitter.algebird.SummingCache.flush(SummingCache.scala:61) at com.twitter.scalding.MapsideReduce.flush(Operations.scala:183) at cascading.flow.stream.OperatorStage.complete(OperatorStage.java:292) at cascading.flow.stream.Duct.complete(Duct.java:81) at cascading.flow.stream.OperatorStage.complete(OperatorStage.java:296) at cascading.flow.stream.Duct.complete(Duct.java:81) at cascading.flow.stream.OperatorStage.complete(OperatorStage.java:296) at cascading.flow.stream.Duct.complete(Duct.java:81) at cascading.flow.hadoop.stream.HadoopGroupGate.complete(HadoopGroupGate.java:77) at cascading.flow.hadoop.FlowReducer.close(FlowReducer.java:161) at org.apache.hadoop.io.IOUtils.cleanup(IOUtils.java:244) at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:459) at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:392) at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671) at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    rprp
    Once,
    tyson925tyson925
    4 times, last one