Investigate memory consumption when exporting projects
We have received multiple reports of customers being unable to export projects, for example, https://gitlab.com/gitlab-com/dev-sub-department/section-dev-request-for-help/-/issues/325. Most issues appear to be related to Sidekiq consuming excessive memory and getting restarted.
We should investigate whether we can reduce the amount of memory consumed by the export process.
Similar investigations:
Workaround
The current workaround is to increase Sidekiq Memory Killer environment variable SIDEKIQ_MEMORY_KILLER_MAX_RSS
to a higher number, for example 6GB.
Edited by Martin Wortschack