Support Core plugin performs FullGC periodically

Article ID:360001823392
1 minute readKnowledge base

Issue

  • Support Core plugins from 2.42 to 2.44 performs histo:live requests periodically thus a FullGC is also performed.

  • Jenkins instances requiring more than 10G of heap could face slowness issues because of the FullGC.

Resolution

Upgrade Support Core plugin to 2.45.1 or higher.

Since 2.42 to 2.44, a new component requests the memory histogram for live instances. In order to generate the histogram, the jvm performs a FullGC. That behavior cannot be disabled when the bundle is generated in background.

Support Core plugin 2.45.1 disables the histogram generation by default, but can be enabled:

  • temporally running com.cloudbees.jenkins.support.impl.HeapUsageHistogram.DISABLED=false from Manage Jenkins / Script Console

  • permanently adding -Dcom.cloudbees.jenkins.support.impl.HeapUsageHistogram.DISABLED=false system property