java.lang.OutOfMemoryError: Java heap space

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 Chris Hilton, 1 year ago
Java heap space
via Atlassian JIRA by Chris Hilton, 1 year ago
Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.lang.String.toCharArray(String.java:2726)
at org.apache.tools.ant.types.selectors.SelectorUtils.match(SelectorUtils.java:334)
at org.apache.tools.ant.types.selectors.SelectorUtils.matchPath(SelectorUtils.java:223)
at org.apache.tools.ant.DirectoryScanner.matchPath(DirectoryScanner.java:448)
at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1159)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1081)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:836)
at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:808)
at com.atlassian.bamboo.utils.FileVisitor.visitAlLFilesThatMatchAPattern(FileVisitor.java:81)
at com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:58)
at com.atlassian.bamboo.builder.AbstractBuilder.collateTestResults(AbstractBuilder.java:362)
at com.atlassian.bamboo.builder.AbstractBuilder.runBuild(AbstractBuilder.java:280)
at com.atlassian.bamboo.builder.AbstractBuilder.executeBuild(AbstractBuilder.java:232)
at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:67)
at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:192)
at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:89)
at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:105)
at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

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