-
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
-
[JENKINS-39489] Loading pipeline builds is expensive because they store scripts
Priority | Original: Major [ 3 ] | New: Minor [ 4 ] |
Epic Link | New: JENKINS-47170 [ 185575 ] |
Link |
New:
This issue blocks |
Description | Original: 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. |
New:
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. |
Summary | Original: CpsFlowExecution.script/loadedScripts should be stored externally | New: Loading pipeline builds is expensive because they store scripts |
Description |
Original:
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. |
New:
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 |
Sprint | New: Pipeline - October [ 406 ] |
Sprint | Original: Pipeline - October [ 406 ] | New: Pipeline - October, Pipeline - December [ 406, 446 ] |
Link |
New:
This issue is related to |
Labels | Original: performance | New: performance project-cheetah |