Reducing GitLab memory consumption
Reducing GitLab memory consumption
The memory consumption of GitLab can be reduced slightly by turning prometheus monitoring off:
In /etc/gitlab/gitlab.rb:
prometheus_monitoring['enable'] = false
Additionally, the memory used by PostgreSQL can be limited:
postgresql['shared_buffers'] = "512MB"