Hello everyone,
Our repository has exceeded the 4GB limit on Bitbucket, and as a result, we are currently blocked.
Three weeks ago, we used the BFG tool to reduce the repository size. Locally, the repository is now only 377 MiB. Interestingly, when we clone the project as a fresh repository, it also shows a size of 377 MiB so we don’t understand why Bitbucket still considers it over 4GB.
Could someone please advise what we might be missing or how we can resolve this issue?
Many thanks,
Hi Jérémy and welcome to the community!
If you rewrite history in a repo and push to Bitbucket, a garbage collection needs to run on the remote repo to remove the old dangling commits. There is a git gc that runs automatically on every push, but with different parameters depending on many different conditions.
If the automated git gc doesn't clean up your repo, you can always create a question in community and ask that we run it. Since your workspace is on a paid billing plan, you can also create a ticket with the support team via https://support.atlassian.com/contact/#/.
I ran a git gc on the repo of yours that had a size of 4 GB, and the repo's size has been reduced.
Does it look ok now on your end?
Kind regards,
Theodora
Hi Theodora,
Thank you so much for yout help !
Everything looks good and i've taken note of your eplanations regarding the git garbage collection process.
Really appreciate your quick action and support!
Best regards,
J.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are very welcome, Jérémy!
Please feel free to reach out if you ever need anything else!
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to Atlassian Community!
Atlassian support that is on here has been notified and will get back to you within 2 business days regarding this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.