Repository has exceeded 4GB

Simon
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!
April 16, 2024

Hi,

our repository has exceeded the 4GB limit.

The support step "Rewind history to undo large commits" is already done for all branches and the large files are removed.
However, the size is still 4GB.

Is a Garbage Collection somehow needed here?

Thank you in advance.

2 answers

3 votes
Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 16, 2024

Welcome to the community @Simon 

Solution is found here: https://community.atlassian.com/t5/Bitbucket-questions/My-Repository-has-exceeded-4GB/qaq-p/2016699

I will tag Atlassian here, so they can take a look at your issue, since they handle the repository commands when the limit has been exceeded.

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 16, 2024

Hello @Simon and welcome to the Community!

I was able to find one repository that you have access to where the size limit was above 4GB. I went ahead and triggered a GC on that repo, but the size didn't reduce much and is still above the limit.

This usually means there are still large files in the repo that have not yet been removed, so I would suggest that you follow the instructions outlined in Removing large files and force-push the changes again to Bitbucket Cloud. 

After the clean-up locally, you can check the local repo size using the following command:

git count-objects -vH

I've temporarily increased the repo size limit so you are able to push. Once the cleanup is completed and pushed to Bitbucket, you can let us know here and I can trigger a new GC for the repo.

Thank you, @Simon !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events