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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,506,708
Community Members
 
Community Events
180
Community Groups

Request for Garbage Collection

Hello,

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,

Zach

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 https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/#Undoing-the-last-push
3. The feature Delete dangling commits when over size limit is enabled in https://bitbucket.org/account/settings/features/ 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,
Theodora

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,

Zach

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,
Theodora

Hi Theodora,

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

Thanks again,

Zach

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,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events