I am trying to install gitlab for private use. I want to pay as less as possible so I took the cheapest server on ovh and after installing GitLab on Ubuntu I get following error page "502 Error GitLab is taking too much time to respond". How can I minimalize the memory use and will it ever run on 2GB Memory only?
Asked
Active
Viewed 247 times
1 Answers
2
2G won't cut it. Gitlab is a notorious memory hog.
From the docs: https://docs.gitlab.com/ee/install/requirements.html
4GB RAM is the required minimum memory size
Official doc states flat out "Gitlab has memory leaks" (https://docs.gitlab.com/ee/administration/operations/unicorn.html#unicorn-worker-killer)
More details:
https://about.gitlab.com/handbook/engineering/development/enablement/memory/

Rino Bino
- 511
- 5
- 21
-
Ok, so there is no way it could run there? Aren't there optional functions which can be turned off in order to save some memory? – I'm a Car Nov 13 '20 at 22:52
-
1In my experience running Gitlab locally, it wouldn't be able to run on a small host like that. You can try dropping down the unicorn worker process counts but in my opinion it's trying to fit it onto a system that just can't support the software. – Rino Bino Nov 13 '20 at 23:03
-
Ok thank you, I upgraded to 4GB RAM and it works perfectly now. – I'm a Car Nov 15 '20 at 17:26