java.lang.OutOfMemoryError: Java heap space

Google Groups | Vijay M R | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Java heap space

    at java.util.Arrays.copyOf()
  2. Java RT
    ArrayList.toArray
    1. java.util.Arrays.copyOf(Unknown Source)
    2. java.util.ArrayList.toArray(Unknown Source)
    2 frames
  3. Guava
    ImmutableList.copyOf
    1. com.google.common.collect.ImmutableList.copyFromCollection(ImmutableList.java:291)
    2. com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:260)
    2 frames
  4. SonarSource :: Language Recognizer :: Core
    ParseRunner.parse
    1. org.sonar.sslr.internal.matchers.ParseNode.<init>(ParseNode.java:39)
    2. org.sonar.sslr.internal.vm.Machine.createNode(Machine.java:257)
    3. org.sonar.sslr.internal.vm.Instruction$RetInstruction.execute(Instruction.java:305)
    4. org.sonar.sslr.internal.vm.Machine.execute(Machine.java:163)
    5. org.sonar.sslr.internal.vm.Machine.execute(Machine.java:106)
    6. org.sonar.sslr.internal.vm.Machine.parse(Machine.java:84)
    7. org.sonar.sslr.parser.ParseRunner.parse(ParseRunner.java:45)
    7 frames
  5. com.sonar.sslr
    ActionParser.parse
    1. com.sonar.sslr.api.typed.ActionParser.parse(ActionParser.java:102)
    2. com.sonar.sslr.api.typed.ActionParser.parse(ActionParser.java:91)
    2 frames
  6. org.sonar.plugins
    JavaScriptSquidSensor.analyse
    1. org.sonar.plugins.javascript.JavaScriptSquidSensor.analyse(JavaScriptSquidSensor.java:185)
    2. org.sonar.plugins.javascript.JavaScriptSquidSensor.analyseFiles(JavaScriptSquidSensor.java:162)
    3. org.sonar.plugins.javascript.JavaScriptSquidSensor.analyse(JavaScriptSquidSensor.java:153)
    3 frames
  7. SonarQube
    ModuleScanContainer.doAfterStart
    1. org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58)
    2. org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50)
    3. org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83)
    4. org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:189)
    4 frames
  8. org.sonar.core
    ComponentContainer.execute
    1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
    2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
    2 frames
  9. SonarQube
    ProjectScanContainer.doAfterStart
    1. org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:265)
    2. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:260)
    3. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:258)
    4. org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:250)
    4 frames
  10. org.sonar.core
    ComponentContainer.startComponents
    1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
    1 frame
  11. SonarQube
    ProjectScanContainer.startComponents
    1. org.sonar.batch.scan.ProjectScanContainer.startComponents(ProjectScanContainer.java:128)
    1 frame
  12. org.sonar.core
    ComponentContainer.execute
    1. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
    1 frame
  13. org.sonar.batch
    TaskContainer.doAfterStart
    1. org.sonar.batch.task.ScanTask.execute(ScanTask.java:55)
    2. org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)
    2 frames
  14. org.sonar.core
    ComponentContainer.startComponents
    1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
    1 frame