java.lang.OutOfMemoryError: Java heap space

Jenkins JIRA | espenalb | 1 year ago
  1. 0

    Trying to get started using this plugin. Probably a configuration issue - but the stacktrace is not very helpfull: {code:java} Checking out Revision 0a5f13f6f222420ce4fc25d9924413cfe333cfac (refs/remotes/origin/master) > C:\Program Files\Git\bin\git.exe config core.sparsecheckout # timeout=10 > C:\Program Files\Git\bin\git.exe checkout -f 0a5f13f6f222420ce4fc25d9924413cfe333cfac > C:\Program Files\Git\bin\git.exe rev-list 0a5f13f6f222420ce4fc25d9924413cfe333cfac # timeout=10 FATAL: Java heap space java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange(Unknown Source) at java.lang.String.<init>(Unknown Source) at java.lang.String.substring(Unknown Source) at net.sf.json.util.JSONTokener.matches(JSONTokener.java:110) at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:912) at net.sf.json.JSONObject.fromObject(JSONObject.java:156) at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:348) at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:955) at net.sf.json.JSONObject._fromString(JSONObject.java:1145) at net.sf.json.JSONObject.fromObject(JSONObject.java:162) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:139) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103) at net.sf.json.groovy.JsonSlurper.parseText(JsonSlurper.java:80) at net.sf.json.groovy.JsonSlurper.parse(JsonSlurper.java:76) at net.sf.json.groovy.JsonSlurper.parse(JsonSlurper.java:60) at com.uber.jenkins.phabricator.conduit.ConduitAPIClient.perform(ConduitAPIClient.java:83) at com.uber.jenkins.phabricator.conduit.DifferentialClient.callConduit(DifferentialClient.java:167) at com.uber.jenkins.phabricator.conduit.DifferentialClient.fetchDiff(DifferentialClient.java:72) at com.uber.jenkins.phabricator.PhabricatorBuildWrapper.setUp(PhabricatorBuildWrapper.java:91) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) {code} I am pretty sure the problem is related to a faulty install of arcanist - I probably need to help the plugin to find it since I forgot to add it on the path - but the error message could be more descriptive... :-)

    Jenkins JIRA | 1 year ago | espenalb
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Trying to get started using this plugin. Probably a configuration issue - but the stacktrace is not very helpfull: {code:java} Checking out Revision 0a5f13f6f222420ce4fc25d9924413cfe333cfac (refs/remotes/origin/master) > C:\Program Files\Git\bin\git.exe config core.sparsecheckout # timeout=10 > C:\Program Files\Git\bin\git.exe checkout -f 0a5f13f6f222420ce4fc25d9924413cfe333cfac > C:\Program Files\Git\bin\git.exe rev-list 0a5f13f6f222420ce4fc25d9924413cfe333cfac # timeout=10 FATAL: Java heap space java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange(Unknown Source) at java.lang.String.<init>(Unknown Source) at java.lang.String.substring(Unknown Source) at net.sf.json.util.JSONTokener.matches(JSONTokener.java:110) at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:912) at net.sf.json.JSONObject.fromObject(JSONObject.java:156) at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:348) at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:955) at net.sf.json.JSONObject._fromString(JSONObject.java:1145) at net.sf.json.JSONObject.fromObject(JSONObject.java:162) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:139) at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103) at net.sf.json.groovy.JsonSlurper.parseText(JsonSlurper.java:80) at net.sf.json.groovy.JsonSlurper.parse(JsonSlurper.java:76) at net.sf.json.groovy.JsonSlurper.parse(JsonSlurper.java:60) at com.uber.jenkins.phabricator.conduit.ConduitAPIClient.perform(ConduitAPIClient.java:83) at com.uber.jenkins.phabricator.conduit.DifferentialClient.callConduit(DifferentialClient.java:167) at com.uber.jenkins.phabricator.conduit.DifferentialClient.fetchDiff(DifferentialClient.java:72) at com.uber.jenkins.phabricator.PhabricatorBuildWrapper.setUp(PhabricatorBuildWrapper.java:91) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) {code} I am pretty sure the problem is related to a faulty install of arcanist - I probably need to help the plugin to find it since I forgot to add it on the path - but the error message could be more descriptive... :-)

    Jenkins JIRA | 1 year ago | espenalb
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Using single StringBuilder - throws OutofmemeoryException

    Stack Overflow | 2 years ago | Harbinger
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Servlet: OutOfMemory Error

    Stack Overflow | 3 years ago | JustCause
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    Maven Out of Memory Build Failure

    Stack Overflow | 4 years ago | Kevin Meredith
    java.lang.OutOfMemoryError: Java heap space

  1. silex 2 times, last 2 months ago
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.util.Arrays.copyOfRange()
  2. Java RT
    String.substring
    1. java.util.Arrays.copyOfRange(Unknown Source)
    2. java.lang.String.<init>(Unknown Source)
    3. java.lang.String.substring(Unknown Source)
    3 frames
  3. json-lib
    JsonSlurper.parse
    1. net.sf.json.util.JSONTokener.matches(JSONTokener.java:110)
    2. net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:912)
    3. net.sf.json.JSONObject.fromObject(JSONObject.java:156)
    4. net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:348)
    5. net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:955)
    6. net.sf.json.JSONObject._fromString(JSONObject.java:1145)
    7. net.sf.json.JSONObject.fromObject(JSONObject.java:162)
    8. net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:139)
    9. net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103)
    10. net.sf.json.groovy.JsonSlurper.parseText(JsonSlurper.java:80)
    11. net.sf.json.groovy.JsonSlurper.parse(JsonSlurper.java:76)
    12. net.sf.json.groovy.JsonSlurper.parse(JsonSlurper.java:60)
    12 frames
  4. com.uber.jenkins
    PhabricatorBuildWrapper.setUp
    1. com.uber.jenkins.phabricator.conduit.ConduitAPIClient.perform(ConduitAPIClient.java:83)
    2. com.uber.jenkins.phabricator.conduit.DifferentialClient.callConduit(DifferentialClient.java:167)
    3. com.uber.jenkins.phabricator.conduit.DifferentialClient.fetchDiff(DifferentialClient.java:72)
    4. com.uber.jenkins.phabricator.PhabricatorBuildWrapper.setUp(PhabricatorBuildWrapper.java:91)
    4 frames
  5. Hudson
    Executor.run
    1. hudson.model.Build$BuildExecution.doRun(Build.java:156)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
    3. hudson.model.Run.execute(Run.java:1741)
    4. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    5. hudson.model.ResourceController.execute(ResourceController.java:98)
    6. hudson.model.Executor.run(Executor.java:408)
    6 frames