-
Improvement
-
Resolution: Fixed
-
Minor
-
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.
- links to
[JENKINS-72973] Skip delta computation to reduce memory consumption of recordIssues step
Description |
Original:
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, terminates, and is automatically restarted, but the recordIssues step does not recover. I haven't yet found the out-of-memory error in any logs, though.
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. |
New:
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. |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
The stack trace in the build log: