High RAM usage

(I’m new here, sorry if this isn’t the right section)

Hi, just installed the gitlab-ce docker container, and for some reason it is using huge amounts of RAM (8.452GB as reported by docker stats). I just set up the server and have only one account and no code. Is this normal? Is there a way to reduce the amount of RAM used?

Anyone?

Here!

I’ve got the same problem.

Using the latest docker and latest gitlab/gitlab-ce image.

I can’t believe it is supposed to do so.
if i can’t find a way to fix this/reduce the memory consumption, i have to delete the container.

Did you find a solution so far?

Hi,

does the memory usage affect the performance of GitLab or the server itself? I could imagine that memory is virtually reserved. Please share the output of top or htop.

Cheers,
Michael

Hello,

thank you for your reply.

docker stats gitlab shows me:

CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM %
747cb282fa71 gitlab 3.50% 11.63GiB / 31.43GiB 37.02%

And htop:

Mem: 16.9G/31.4G, where almost the complete right half (the unused 16G) is orange/reserved.

If i stop the gitlab container, Mem goes down to ~3,5G, same with reserved.

And, it is not a single or a few processes of gitlab consuming that much Mem, it is an enormous amount of processes taking a bit each. (dozens of unicorn-workers, sidekiq and prometheus… )
Don’t want to count them, but if the numbers in brackets are continuous, more than 50.

regards