java.lang.OutOfMemoryError: GC overhead limit exceeded

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 Google Groups by Hagai Attias, 1 year ago
GC overhead limit exceeded
via Google Groups by Rich Oliver, 2 years ago
GC overhead limit exceeded
via Stack Overflow by zfz
, 2 years ago
GC overhead limit exceeded
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 com.twitter.algebird.SummingCache.flush(SummingCache.scala:61)
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.mapred.ReduceTask.runOldReducer(ReduceTask.java:459)
at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:392)
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)

Users with the same issue

Once, 7 months ago
4 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.