3 ms·
>That said, there is no valid engineering reason why any web app should require more than 512MB of memory to run with minimal user load. GitLab (and every othe
by charliesome 11y ago
>That said, there is no valid engineering reason why any web app should require more than 512MB of memory to run with minimal user load.
GitLab (and every other Rails app) makes the assumption that it's better to eager load an entire codebase once at boot time rather than to load code on demand and throw it away during a request.
That trades off baseline memory usage for runtime performance, and it's a perfectly valid 'engineering reason' for why GitLab's baseline memory usage is so high.