java.lang.OutOfMemoryError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by flaviavela,
  • 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)
    via by flaviavela,
    • java.lang.OutOfMemoryError: Java heap space at java.lang.String.toCharArray(Unknown Source) at org.objectweb.asm.Type.getType(Unknown Source) at com.googlecode.dex2jar.v3.V3ClassAdapter.searchEnclosing(V3ClassAdapter.java:179) at com.googlecode.dex2jar.v3.V3ClassAdapter.build(V3ClassAdapter.java:130) at com.googlecode.dex2jar.v3.V3ClassAdapter.visitField(V3ClassAdapter.java:303) at com.googlecode.dex2jar.reader.DexFileReader.acceptField(DexFileReader.java:603) at com.googlecode.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:439) at com.googlecode.dex2jar.reader.DexFileReader.accept(DexFileReader.java:330) at com.googlecode.dex2jar.v3.Dex2jar.doTranslate(Dex2jar.java:84) at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:239) at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:230) at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:109) at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:168) at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:34)

    Users with the same issue

    Unknown visitor1 times, last one,