Hello,
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?
Kind regards,
Ramon
Hello @RamonEsteveCuevas,
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.
Cheers,
Daniil
Thanks for the very fast response and action! As far as I can see it looks like we didn't pushed anything very large. We are just with a team of 2 people working in the repository.
Regards,
Ramon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
Kind regards,
Ramon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.