New users or groups added to the external user directory are not available in Bamboo

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

New users or groups added to the external user directory are not available in Bamboo after executing synchronisation. The last synchronisation status and Cog icon>Overview>User Directories page mentions: "Synchronisation failed. See server logs for details."



Environment

Bamboo 6.6+ instance connected to any external user directory (LDAP, Active Directory, Jira, Crowd...)

Diagnosis

java.lang.OutOfMemoryError errors can be found at the atlassian-bamboo.log file:

ERROR [JobLauncher] Scheduled job with ID 'com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerManager' failed
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.OutOfMemoryError: GC overhead limit exceeded


Cause

The user synchronisation uses heap memory to process the data coming from the external user directory, if Bamboo does not have enough heap space to accommodate this data, the synchronisation will fail and new users will not be available.

Solution

  1. Stop Bamboo
  2. Increase the heap memory in Bamboo instance by changing the configurations below:
    1. Linux: JVM_MINIMUM_MEMORY and JVM_MAXIMUM_MEMORY parameters
    2. Windows: Initial memory pool and Maximum memory pool options
  3. Start Bamboo back

(info) For more information on how to change these configurations, please see this article: Configuring your system properties.

Last modified on Apr 23, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.