The size of my repository has increased suddenly yesterday evening. Currently the repo size is 2.2GB but if I look at the last commits this shouldn't be possible (we only made a few small commits). I know there is a "git -gc" command to cleanup garbage collection but I cannot run this on the cloud. Is there a way to trigger this?
Any file on any branch contributes to the overall size of the repository. I believe what happened is someone accidentally pushed a big file but realised that and pushed a revert, however GC didn't trigger after the second update (it is not triggered on every push because it's quite expensive operation).
I just triggered aggressive garbage collection for your repository, and it reduced to around 800 Mb.
Our repository is again beyond the 2GB size limit. I enabled the "Delete dangling commits when over size limit" Allow users to mark repositories for git gc (BB-13894) but that doesn't seem to fix it since I cant push anything anymore. Can you run the aggressive garbage collection again?
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events