-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
3.6.2, 3.9.6
-
9
-
Severity 2 - Major
-
3
-
Summary
High memory usage for Closed Service Desk projects with Group Anyone permission
Environment
- Instance with a large number of users (100K+)
Steps to Reproduce
- Create ServiceDesk project with following settings:
- trigger the REST call [/rest/servicedesk/1/servicedesk/sd-user-search/participants?issueKey=SDPRJ-2&query=admin]
Expected Results
Low memory allocated by Service Desk thread
Actual Results
High memory allocated by Service Desk thread (1GB+), which may lead to heavy JVM memory pressure and OOM
Notes
- When servicedesk is closed and "sd.use.search.by.permissions" feature flag is enabled it load ALL the customers into the memory and then filters them.
- hit the com.atlassian.jira.security.type.GroupDropdown.getUsers() which calls com.atlassian.jira.user.UserUtils.getAllUsers()
- KB which we have related to this Closed Access Service Desks, slow user picker search
Workaround
- Disable "sd.use.search.by.permissions" feature flag, see KB
- Remove Group Anyone and make project Open
- is related to
-
JSDSERVER-5884 Searching for users in the 'Invite team' dialog can lead to memory pressure and OutOfMemoryError in some situations
- Closed
- relates to
-
JSDSERVER-5959 ServiceDesk sd.use.search.by.permissions feature flag might cause slow user picker search
- Gathering Impact
- is caused by
-
JSMDC-133 Loading...
- links to
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...