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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket size increased (surpassed 2.0 GB)

Edited

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

1 answer

1 accepted

0 votes
Answer accepted

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

Hi @Daniil Penkin 

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

Hi @Daniil Penkin

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

Hi @RamonEsteveCuevas ,

Done, repo is now down to 824 MB again.

Cheers,
Daniil

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

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...

3,784 views 10 16
Read article

Community Events

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

Events near you