Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Repository is over the size limit (2 GB) and will not accept further additions.

bryan0806
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 9, 2019

Suddenly, I can not push to repo anymore.

Tried many ways on the below link :

https://confluence.atlassian.com/bitbucket/reduce-repository-size-321848262.html

 

But still can not push anymore.

The repo over 2G is this

https://bitbucket.org/bryan0806/wiscon-findraw-dos/src/master/

Could you help ??

Thanks.

2 answers

0 votes
Mike Howells
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 10, 2020

For others experiencing this, please follow the guide mentioned in the error message. It has instructions on how to reduce the repository size below the 2GB limit, and how to optimise repository size in general.

Jason Harrison
Contributor
November 13, 2020

Done so, however I still cannot push the mirror of the repo that I have decreased to 27MiB.

How do we run GC or push the updated history?

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2019

Hi Bryan,

When the repository exceeds the 2GB max size, it enters the read-only mode. I've run a garbage collection on it but the size remains at 4GB. Can you confirm that the local size is under 2GB? Have you tried to force push?

Let us know!

Ana

bryan0806
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 11, 2019

Thank you, Ana.

 

I tried to use BFG to clean my repo.

https://rtyley.github.io/bfg-repo-cleaner/

 

After that , I check each branch and manually delete some big files.

However, I still failed to push the change to remote repo.

What should I do next to get back to normal ?

I did tried --force push , but still failed.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events