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

Skip delta computation to reduce memory consumption of recordIssues step

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • warnings-ng-plugin
    • None
    • Jenkins 2.440.2
      analysis-mode-api 12.1.0
      forensics-api 2.4.0
      git-forensics 2.1.0
      warnings-ng 11.2.2
      Agent running on Windows

      In one project, the recordIssues step often fails with "hudson.remoting.ProxyException: java.nio.channels.ClosedChannelException", and the stack trace includes "io.jenkins.plugins.forensics.git.delta.GitDeltaCalculator.calculateDelta". I suspect the agent runs out of memory while it's trying to compare files in the Git history, and the error prevents it from responding correctly to the remote call from the Jenkins controller. The error does not terminate the agent Java process. I haven't yet found the out-of-memory error in any logs.

      I'd like a way to reduce the memory consumption by disabling the analysis of modified files. However, I'd like to keep using git-forensics-plugin for choosing the reference build; that doesn't need so much memory.

            drulli Ulli Hafner
            kon Kalle Niemitalo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: