Git Repository size shows 7GB in BitBucket Settings page


We have been getting repository size warnings on one of repos. Repo has few large files in three branches. I have deleted branches and performed garbage collection steps per below documentation's Garbage Collecting dead data:

Size of our repo was originally around 2GB, with several rounds of branch deletion, size now is at 7GB. Same repo in local environment is 70KB. Am I missing any steps? 



Thanks for your help!


1 answer

0 votes

Hi Saku! In some cases it's necessary that we run a garbage collection from our side too. I've checked your Bitbucket account but I couldn't find any big repo. Are you referring to a different Bitbucket account?



Thanks for the response!

Repo name is hrng_dbdumps



Hi Saku, I won't be able to find it just by the repo name, I need the name of the Bitbucket account too (the username, or the email address associated to it). If you don't want to share that info publicly in the Community, you can submit a ticket at If you do, make sure to mention the ticket number here so we can take care of it ;)



Hi Ana, I have created a support ticket as well. Here is the ticket number: BBS-59022.



I'm working on it, Saku :)

Thanks for quick response!

After running an aggressive garbage collection the size of the repo has decreased to 2.2 MB. Can I help you with anything else?


Hi Ana,   

Thanks for your help! I am trying to understand the issue.

We use this repo to transport database dump among lower tiers. Repo’s size is going to be roughly around 1GB. Branches would be deleted and recreated at the end of week. Is there any special command that needs to be added for garbage collection on our end? Is this gc that was performed manually runs on any automatic schedule? 



Hi Saku,

The garbage collection on the remote can only be run from our end. There's one that runs automatically under certain conditions, but sometimes if it doesn't we can do it manually on behalf of users. If you need it, you can just contact us again and we'll help you with that.

Have a nice evening!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,952 views 7 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you