-
Bug
-
Resolution: Unresolved
-
Minor
-
-
Pipeline - October, Pipeline - April 2018
Scripts may be large and can be lazy-loaded if needed.
CpsFlowExecution.script/loadedScripts should be stored externally
These can wind up comprising most of the retained size of a CpsFlowExecution for complex builds, but unless reloading a build or using Replay these fields are unused. It would be better to save these to disk (via owner.rootDir) and keep them out of heap.
Reducing the number of times we have to re-persist the build.xml will reduce the impact of this problem on pipeline execution rates - https://issues.jenkins-ci.org/browse/JENKINS-47174
- blocks
-
JENKINS-47175 Loading pipeline builds is expensive because they have a lot of baggage
- Closed
- is related to
-
JENKINS-49086 Lazy-initialize FlowNodeStorage and heads, etc
- Closed