Issue
The JVM heap usage reaches critical levels (95% or higher), causing garbage collection thrashing. The controller refreshes frequently or becomes unavailable, and OutOfMemoryError conditions may occur.
Resolution
This issue is tracked as a bug, and will be fixed in a future release of CloudBees CI. This article will be updated when the fix is available.
Workaround
Disable the specific Support Core extensions that generate command-stats.md files using the Extension Filter plugin:
-
Install the Extension Filter plugin from the Update Center.
-
Navigate to .
-
Find the
Extension Filtersection. -
Add three
Exclusionsusing the following Java class names:-
com.cloudbees.jenkins.support.impl.SlaveCommandStatistics -
com.cloudbees.jenkins.support.impl.SlaveCommandStatistics$ComputerListenerImpl -
com.cloudbees.jenkins.support.impl.SlaveCommandStatistics$NodeListenerImpl
-
-
Save the configuration.
-
Restart the controller.
-
Monitor heap usage to confirm the memory leak has stopped.
| This workaround disables Agent Command Statistics collection in support bundles. This functionality will remain disabled until the Support Core plugin is fixed and the extensions are re-enabled. |
Tested product/plugin versions
-
CloudBees CI on traditional platforms - client controller - 2.516.1.28669