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

FATAL: Java heap space in Perforce Plugin

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: p4-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

          fowlesp fowlesp created issue -
          rpetti Rob Petti made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Incomplete [ 4 ]
          buej buej made changes -
          Resolution Incomplete [ 4 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          rpetti Rob Petti made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Cannot Reproduce [ 5 ]
          buej buej made changes -
          Resolution Cannot Reproduce [ 5 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          rpetti Rob Petti made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 132215 ] JNJira + In-Review [ 186516 ]
          ircbot Jenkins IRC Bot made changes -
          Component/s p4-plugin [ 19224 ]
          Component/s perforce-plugin [ 15506 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: