Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2142

FATAL: Java heap space in Perforce Plugin

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      Platform: PC, OS: Windows XP
    • Similar Issues:

      Description

      During Hudson build I receive the following error
      ------
      [workspace] $ p4 sync -f //depot/Synchro/dev/main/...#head
      FATAL: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      at java.util.Arrays.copyOf(Unknown Source)
      at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
      at java.lang.AbstractStringBuilder.append(Unknown Source)
      at java.lang.StringBuilder.append(Unknown Source)
      at
      com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:194)
      at com.tek42.perforce.parse.Workspaces.syncTo(Workspaces.java:90)
      at com.tek42.perforce.parse.Workspaces.syncToHead(Workspaces.java:71)
      at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:318)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:596)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:251)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:225)
      at hudson.model.Run.run(Run.java:784)
      at hudson.model.Build.run(Build.java:85)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:88)
      ------
      Hudson is currently running with CATALINA_OPTS="-DHUDSON_HOME=C:\.hudson
      -Xmx2048M -Xms2048M"

      Are there any recommend settings for the Perforce plugin?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fowlesp fowlesp
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: