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

java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.lang.String.substring(String.java:1913)
at java.text.MessageFormat.subformat(MessageFormat.java:1233)
at java.text.MessageFormat.format(MessageFormat.java:860)
at java.text.Format.format(Format.java:157)
at java.text.MessageFormat.format(MessageFormat.java:836)
at com.newrelic.agent.compile.ClassRemapperConfig.getCallSiteReplacements(ClassRemapperConfig.java:39)
at com.newrelic.agent.compile.InstrumentationContext.getCallSiteReplacements(InstrumentationContext.java:179)
at com.newrelic.agent.compile.visitor.WrapMethodClassVisitor$MethodWrapMethodVisitor.tryReplaceCallSite(WrapMethodClassVisitor.java:108)
at com.newrelic.agent.compile.visitor.WrapMethodClassVisitor$MethodWrapMethodVisitor.visitMethodInsn(WrapMethodClassVisitor.java:60)
at com.newrelic.objectweb.asm.ClassReader.accept(Unknown Source)
at com.newrelic.objectweb.asm.ClassReader.accept(Unknown Source)
at com.newrelic.agent.compile.RewriterAgent$InvocationDispatcher.visitClassBytes(RewriterAgent.java:1071)
at com.newrelic.agent.compile.RewriterAgent$InvocationDispatcher.access$1400(RewriterAgent.java:838)
at com.newrelic.agent.compile.RewriterAgent$InvocationDispatcher$1$1.invoke(RewriterAgent.java:880)
at com.newrelic.agent.compile.RewriterAgent$InvocationDispatcher.invoke(RewriterAgent.java:1018)
at com.android.dx.command.dexer.Main.processClass(Main.java)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:718)
at com.android.dx.command.dexer.Main.access$1200(Main.java:85)
at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1645)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
at com.android.dx.command.dexer.Main.processOne(Main.java:672)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:574)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)
at com.android.dx.command.dexer.Main.run(Main.java:277)
at com.android.dx.command.dexer.Main.main(Main.java:245)

Users with the same issue

Once, 2 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

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