How to increase Bamboo Specs detection pool size

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

At times, plans that run on Bamboo Specs have a large backlog of scans to run and need to increase the pool size.

Environment

  • Bamboo with repository-stored Specs enabled.

  • Applicable to all versions of Bamboo.

Solution

By default, the specs.detection.thread  is set to 4. To increase the pool size follow the steps below:

  1. Edit your setenv.sh file under path <bamboo-install>/bin/setenv.sh

  2. Add the following -Dbamboo.specs.detection.threads=6 to your JVM_SUPPORT_RECOMMENDED_ARGS.

E.g:.

1 2 3 # Occasionally Atlassian Support may recommend that you set some specific JVM arguments. You can use this variable below to do that. # : ${JVM_SUPPORT_RECOMMENDED_ARGS:="-Dbamboo.specs.detection.threads=6"}

Increase the thread pool size based on load factors and need, as advised by Atlassian Support.

Updated on February 27, 2025

Still need help?

The Atlassian Community is here for you.