java.lang.OutOfMemoryError: Java heap space

Atlassian JIRA | Chris Hilton | 8 years ago
  1. 0

    In a very large build, lots of files and directories and about 100 projects, I got the following error at the end of the build log: simple 19-Dec-2008 19:53:44 Build process for 'Main - Main All Sample Template Test' returned with return code = 0 simple 19-Dec-2008 19:53:44 Parsing test results... error 19-Dec-2008 20:00:55 Failed to execute the build 'MAIN-MAST-56': Java heap space simple 19-Dec-2008 20:00:56 Finalising the build... simple 19-Dec-2008 20:00:56 Stopping timer. simple 19-Dec-2008 20:00:57 Build MAIN-MAST-56 completed. simple 19-Dec-2008 20:00:44 Running post build plugin on server 'Clover Delta Calculator' And the following in the Error Summary for the build: Failed to execute the build 'MAIN-MAST-56' 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 org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:358) 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 edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:619) Failed to execute the build 'MAIN-MAST-56': Java heap space

    Atlassian JIRA | 8 years ago | Chris Hilton
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    In a very large build, lots of files and directories and about 100 projects, I got the following error at the end of the build log: simple 19-Dec-2008 19:53:44 Build process for 'Main - Main All Sample Template Test' returned with return code = 0 simple 19-Dec-2008 19:53:44 Parsing test results... error 19-Dec-2008 20:00:55 Failed to execute the build 'MAIN-MAST-56': Java heap space simple 19-Dec-2008 20:00:56 Finalising the build... simple 19-Dec-2008 20:00:56 Stopping timer. simple 19-Dec-2008 20:00:57 Build MAIN-MAST-56 completed. simple 19-Dec-2008 20:00:44 Running post build plugin on server 'Clover Delta Calculator' And the following in the Error Summary for the build: Failed to execute the build 'MAIN-MAST-56' 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 org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:358) 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 edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:619) Failed to execute the build 'MAIN-MAST-56': Java heap space

    Atlassian JIRA | 8 years ago | Chris Hilton
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    I am running a build on a hudson slave and i got the following error log in hudson.err.log ARNING: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: WORKSPACE at hudson.remoting.Channel@1c7aa1d:HOSTNAME at hudson.FilePath.act(FilePath.java:752) at hudson.FilePath.act(FilePath.java:738) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:199) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:207) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1264) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) Caused by: java.io.IOException: Remote call on HOSTNAME failed at hudson.remoting.Channel.call(Channel.java:560) at hudson.FilePath.act(FilePath.java:745) ... 13 more Caused by: java.lang.OutOfMemoryError: Java heap space at java.lang.String.toCharArray(Unknown Source) at org.apache.tools.ant.types.selectors.SelectorUtils.match(SelectorUtils.java:327) at org.apache.tools.ant.types.selectors.SelectorUtils.matchPath(SelectorUtils.java:217) at org.apache.tools.ant.DirectoryScanner.matchPath(DirectoryScanner.java:454) at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1173) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1107) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:856) at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:817) at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:435) at hudson.plugins.analysis.util.FileFinder.find(FileFinder.java:76) at hudson.plugins.analysis.util.ModuleDetector.find(ModuleDetector.java:162) at hudson.plugins.analysis.util.ModuleDetector.findMavenModules(ModuleDetector.java:139) at hudson.plugins.analysis.util.ModuleDetector.createFilesToModuleMapping(ModuleDetector.java:87) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:65) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:52) at hudson.plugins.analysis.core.AnnotationsClassifier.invoke(AnnotationsClassifier.java:47) at hudson.plugins.analysis.core.AnnotationsClassifier.invoke(AnnotationsClassifier.java:24) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2028) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    Jenkins JIRA | 7 years ago | flaviavela
    hudson.util.IOException2: remote file operation failed: WORKSPACE at hudson.remoting.Channel@1c7aa1d:HOSTNAME
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I am running a build on a hudson slave and i got the following error log in hudson.err.log ARNING: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: WORKSPACE at hudson.remoting.Channel@1c7aa1d:HOSTNAME at hudson.FilePath.act(FilePath.java:752) at hudson.FilePath.act(FilePath.java:738) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:199) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:207) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1264) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) Caused by: java.io.IOException: Remote call on HOSTNAME failed at hudson.remoting.Channel.call(Channel.java:560) at hudson.FilePath.act(FilePath.java:745) ... 13 more Caused by: java.lang.OutOfMemoryError: Java heap space at java.lang.String.toCharArray(Unknown Source) at org.apache.tools.ant.types.selectors.SelectorUtils.match(SelectorUtils.java:327) at org.apache.tools.ant.types.selectors.SelectorUtils.matchPath(SelectorUtils.java:217) at org.apache.tools.ant.DirectoryScanner.matchPath(DirectoryScanner.java:454) at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1173) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1107) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:856) at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:817) at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:435) at hudson.plugins.analysis.util.FileFinder.find(FileFinder.java:76) at hudson.plugins.analysis.util.ModuleDetector.find(ModuleDetector.java:162) at hudson.plugins.analysis.util.ModuleDetector.findMavenModules(ModuleDetector.java:139) at hudson.plugins.analysis.util.ModuleDetector.createFilesToModuleMapping(ModuleDetector.java:87) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:65) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:52) at hudson.plugins.analysis.core.AnnotationsClassifier.invoke(AnnotationsClassifier.java:47) at hudson.plugins.analysis.core.AnnotationsClassifier.invoke(AnnotationsClassifier.java:24) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2028) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    Jenkins JIRA | 7 years ago | flaviavela
    hudson.util.IOException2: remote file operation failed: WORKSPACE at hudson.remoting.Channel@1c7aa1d:HOSTNAME
  6. 0

    Hudson HTML Publisher Plugin 1.1 Failure -> [htmlpublisher] Archiving HTML reports... ERROR: directory does not exist

    Eclipse Bugzilla | 4 years ago | potomarusx
    java.lang.OutOfMemoryError: GC overhead limit exceeded

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.lang.String.toCharArray()
    2. Java RT
      String.toCharArray
      1. java.lang.String.toCharArray(String.java:2726)
      1 frame
    3. Ant
      AbstractFileSet.getDirectoryScanner
      1. org.apache.tools.ant.types.selectors.SelectorUtils.match(SelectorUtils.java:334)
      2. org.apache.tools.ant.types.selectors.SelectorUtils.matchPath(SelectorUtils.java:223)
      3. org.apache.tools.ant.DirectoryScanner.matchPath(DirectoryScanner.java:448)
      4. org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1159)
      5. org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1081)
      6. org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
      7. org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
      8. org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
      9. org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
      10. org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
      11. org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
      12. org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074)
      13. org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:836)
      14. org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:808)
      15. org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:358)
      15 frames
    4. com.atlassian.bamboo
      NamedThreadFactory$1.run
      1. com.atlassian.bamboo.utils.FileVisitor.visitAlLFilesThatMatchAPattern(FileVisitor.java:81)
      2. com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:58)
      3. com.atlassian.bamboo.builder.AbstractBuilder.collateTestResults(AbstractBuilder.java:362)
      4. com.atlassian.bamboo.builder.AbstractBuilder.runBuild(AbstractBuilder.java:280)
      5. com.atlassian.bamboo.builder.AbstractBuilder.executeBuild(AbstractBuilder.java:232)
      6. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:67)
      7. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:192)
      8. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:89)
      9. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:105)
      10. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32)
      10 frames
    5. Backport of JSR 166
      ThreadHelpers$1.run
      1. edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame