Your push to this repository would cause it to exceed the size limit of 9.8 GB so it has been rejected

Hello!

I am trying to push 2 GB repository to gitlab.com and receive the following error (below). Can you tell my why this happen? This repository should not exceed the 9.8 GB limit…

git push -u origin --all
Enumerating objects: 30601, done.
Counting objects: 100% (30601/30601), done.
Delta compression using up to 4 threads.
Compressing objects: 100% (15525/15525), done.
Writing objects: 100% (30601/30601), 1.48 GiB | 407.00 KiB/s, done.
Total 30601 (delta 19388), reused 23498 (delta 14979)
remote: Resolving deltas: 100% (19388/19388), done.
remote: GitLab: Your push to this repository would cause it to exceed the size limit of 9.8 GB so it has been rejected. Please contact your Gi
tLab administrator for more information.

How many branches you are trying to push at once? If it’s too many, can you pushing every branch individually, rather than pushing with --all .

It looks like related to bug https://gitlab.com/gitlab-org/gitlab-ee/issues/11126

2 Likes

Thanks for the answer! It seems a bug. I tried to push this repository again a day later and everything was succesful. Thanks again!

2 Likes

Same issue here, I just converted my SVN Repo to git, it is below 1 GB , but not able to commit with same message, tried with single and all branches without success.

Same issue here as well, pushing a 1.2GB repo.