-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 7.0.6, 7.1.4, 7.2.5, 8.0.4
-
Component/s: Deployments
-
None
-
1
-
Severity 2 - Major
Issue Summary
Calling deploy/dashboard/paginate endpoint (eg. by accessing deployment dashboard) can result in significant memory consumption and garbage collection
Steps to Reproduce
- Create 1000 environments
- Call deploy/dashboard/paginate as an anonymous user:
curl -X GET "http://<BAMBOO_URL>/bamboo/rest/api/latest/deploy/dashboard/paginate?limit=100"
Expected Results
Bamboo doesn't load into memory environments that the user can't access
Actual Results
Bamboo tries to load all 1000 environments into memory at once
Workaround
Currently there is no known workaround for this behaviour. A workaround will be added here when available