-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
Please see here - https://issues.jenkins.io/browse/JENKINS-65873?focusedCommentId=424033&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-424033 and ticket in general. This issue only happens when there is a git checkout stage in the pipeline. One suggestion here - https://github.com/jenkinsci/remoting/pull/505#issuecomment-1062281877 - is to downgrade the git client plugin to 3.7.0. It seems that the suspicion is somewhere on the git side of things. Any ideas, suggestions, things we can do to help debug ?
- relates to
-
JENKINS-65873 java.lang.OutOfMemoryError: unable to create new native thread
-
- Closed
-
I have no ideas to offer. I don't know why chanjetsdp suggested downgrading to git client plugin 3.7.0. There have been changes since git client plugin 3.7.0 (new versions of JGit, enhancements to support automatic selection of git version for best performance), but none that would make me suspect it somehow has significantly altered memory use.
If the log file reports that JGit is being used instead of command line git, then you might try disabling the git plugin performance improvements that are based on repository size. That would force it to always use command line git even if it recognized that JGit would be faster due to the small size of the repository.