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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Request for Garbage Collection


I have a repository reaching 4GB in space so I've run the BFG tool as recommended. As mentioned in this article, I've attempted to trigger automatic clean up, but have been unsuccessful.

Firstly, does automatic garbage collection only run when the repository's size exceeds the 4GB hard limit?

Secondly, are any support staff available to run garbage collection to reduce the size of the repository?

Thanks for your time,


1 answer

1 accepted

0 votes
Answer accepted

Hi Zach,

The automated garbage collection will only run when all of the following is true:
1. The repo is over the 4GB limit
2. You undo the last push as per
3. The feature Delete dangling commits when over size limit is enabled in for the account that does the push

Cleaning up the repo with BFG will not trigger it.

I see that your Bitbucket account has access to several workspaces and repos. Could you please let me know the last 2 letters of the repo name and also of the workspace that owns it, so I can identify it and run a git gc on it?

Kind regards,

Hey Theodora,

Thanks for listing the criteria, I'll keep that in mind going forward. 

The workspace is <workspace-id-removed> and the repository name ends in "o1."

I appreciate the help,


Hi Zach,

Of course, I ran a git gc on the repo and its size is 95.8 MB now. Does this agree with the size of your local repo, after history rewrite?

Just a heads up, I removed the workspace id from your post to protect your privacy.

Kind regards,

Hi Theodora,

The size certainly does look accurate. I believe all is in good order now.

Thanks again,


Hi Zach,

Thank you for the confirmation and you are very welcome, I'm glad to have helped.

Please feel free to reach out if you ever need anything else!

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events