java.lang.OutOfMemoryError: GC overhead limit exceeded

Jenkins JIRA | jasperlj | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    If "Scan console log" is ticked on and console log is in huge size, the following error will accur: [WARNINGS] Parsing warnings in console log... FATAL: GC overhead limit exceeded java.lang.OutOfMemoryError: GC overhead limit exceeded at org.apache.tools.ant.util.VectorSet.doAdd(VectorSet.java:80) at org.apache.tools.ant.util.VectorSet.addElement(VectorSet.java:91) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1236) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1184) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1146) at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:928) at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:882) at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:490) at hudson.plugins.analysis.util.FileFinder.find(FileFinder.java:76) at hudson.plugins.analysis.util.ModuleDetector.find(ModuleDetector.java:166) at hudson.plugins.analysis.util.ModuleDetector.findMavenModules(ModuleDetector.java:143) at hudson.plugins.analysis.util.ModuleDetector.createFilesToModuleMapping(ModuleDetector.java:91) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:69) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:56) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:209) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:208) 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:1271) at hudson.matrix.MatrixRun.run(MatrixRun.java:130) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129 If ticking it off, the error disapeared.

    Jenkins JIRA | 7 years ago | jasperlj
    java.lang.OutOfMemoryError: GC overhead limit exceeded
  2. 0

    If "Scan console log" is ticked on and console log is in huge size, the following error will accur: [WARNINGS] Parsing warnings in console log... FATAL: GC overhead limit exceeded java.lang.OutOfMemoryError: GC overhead limit exceeded at org.apache.tools.ant.util.VectorSet.doAdd(VectorSet.java:80) at org.apache.tools.ant.util.VectorSet.addElement(VectorSet.java:91) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1236) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1259) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1184) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1146) at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:928) at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:882) at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:490) at hudson.plugins.analysis.util.FileFinder.find(FileFinder.java:76) at hudson.plugins.analysis.util.ModuleDetector.find(ModuleDetector.java:166) at hudson.plugins.analysis.util.ModuleDetector.findMavenModules(ModuleDetector.java:143) at hudson.plugins.analysis.util.ModuleDetector.createFilesToModuleMapping(ModuleDetector.java:91) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:69) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:56) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:209) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:208) 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:1271) at hudson.matrix.MatrixRun.run(MatrixRun.java:130) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129 If ticking it off, the error disapeared.

    Jenkins JIRA | 7 years ago | jasperlj
    java.lang.OutOfMemoryError: GC overhead limit exceeded

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      GC overhead limit exceeded

      at org.apache.tools.ant.util.VectorSet.doAdd()
    2. Ant
      VectorSet.addElement
      1. org.apache.tools.ant.util.VectorSet.doAdd(VectorSet.java:80)
      2. org.apache.tools.ant.util.VectorSet.addElement(VectorSet.java:91)
      2 frames