Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-2830

Perforce sync command is memory inefficient

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.0.6
    • 2.0.5
    • Repository (Perforce)
    • None

    Description

      The Perforce library we're using stores the entire output of each command regardless of whether or not it's used. Moreover, after each command is run a call to StringBuilder.toString is called, which effectively clones the entire String array, doubling the memory required for that time.

      We should rework the logging so that such excess memory is not required, and for the sync command, not even need to have a copy of the logs in memory.

      Attachments

        Activity

          People

            mark@atlassian.com MarkC
            mark@atlassian.com MarkC
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: