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 Atlassian JIRA by Mark Chaimungkalanont, 1 year ago
GC overhead limit exceeded
via Atlassian JIRA by Mark Chaimungkalanont, 1 year ago
GC overhead limit exceeded
via GitHub by aecio
, 1 year ago
via Google Groups by Joe Davison, 2 years ago
via Google Groups by Meghana, 2 years ago
via Google Groups by Unknown author, 1 year ago
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.lang.String.substring(String.java:1940)
at org.apache.tools.ant.types.selectors.SelectorUtils.tokenizePathAsArray(SelectorUtils.java:552)
at org.apache.tools.ant.types.selectors.SelectorUtils.matchPath(SelectorUtils.java:174)
at org.apache.tools.ant.DirectoryScanner.matchPath(DirectoryScanner.java:460)
at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1199)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1114)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1127)

Users with the same issue

Once, 4 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

Write tip

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