Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

My Repository has exceeded 4GB

Shane Thomas May 1, 2022

A Repository that I have has exceeded the 4GB limit imposed by Bitbucket.

I have pruned my local repository, but I think I need support to temporarily increase the size of my repository so that I can push the changes to the server. 

What is the correct process to have this rectified?

Thank you in advance.

2 answers

2 accepted

1 vote
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 2, 2022

Hi @Shane Thomas,

I saw one repository over the 4 GB limit from the ones you have access to. I ran a git gc on it and its size is 1.6 GB now.

Does this agree with the size of your local repo if you run git count-objects -Hv ?

If you have rewritten history in your local repo to further reduce its size and haven't pushed these changes yet, please feel free to let me know when you do so I can run another git gc on the remote repo.

Kind regards,
Theodora

Shane Thomas May 3, 2022

Hi Theodora,

Thank you. Yes everything seems to be in order now.

regards

Shane

Shane Thomas August 4, 2022

Hi Theodora,

My local repository is only 2.6 GB and my remotes is saying it is 4.05 GB.

Could you please run another git gc on the remote server. I have exceeded the 4gb AGAIN.

Thanks

Shane

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 8, 2022

Hi Shane,

I ran a git gc on the repo that had a size of ~ 4 GB, and its size has been reduced.

Please feel free to let me know if it looks ok now and if you need anything further.

Kind regards,
Theodora

0 votes
Answer accepted
Craig Castle-Mead
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2022

Hey Shane,

https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/ has some suggestions on resolving this type of situation

CCM

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events