Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Request Garbage Collection

accursedm0 March 31, 2025

Hi,

I've used BFG to reduce the size of a repository that already had 2.45 GB.
After pushing, the size on bitbucket increased to over 3 GB though.

Could you please run a manual garbage collection on my repository '*_app_android'?

Thank you and all the best!
Thomas

2 answers

1 accepted

1 vote
Answer accepted
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 31, 2025

Hi @accursedm0

Welcome to the community.

I went ahead and run Git GC against the repository.

Could you check the size now?

Regards,
Mark C

accursedm0 April 1, 2025

Hi Mark C,

Thank you so much! It looks much better now with 790MB.
I might have to reduce the repo size a bit more and ask you again for a gc though.
I hope that's ok.

All the best,
Thomas

accursedm0 April 1, 2025

Hi Mark C,

As expected, I had to further reduce the repo size.

Could you please run git gc one more time on the repository '*_app_android'?

Thank you so much and all the best,
Thomas

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 1, 2025

Done @accursedm0

Could you check the size now?

Regards,
Mark C

accursedm0 April 2, 2025

Thank you so much Mark C!

Now it's perfectly alright with 180MB.

All the best,
Thomas

Like Mark C likes this
0 votes
Robin Kon
Contributor
March 31, 2025

Hey Thomas, Bitbucket doesn’t run GC immediately after pushing rewritten history, so it’s common to see a temporary size increase. You can open a support ticket and request a manual GC, that’s the only way to trigger it on their end. Be sure to mention you used BFG and that all refs were properly cleaned locally before the force-push.

accursedm0 April 1, 2025

Thank you for your answer Robin!

I'm on the free plan and therefor cannot open a support ticket.

But I've seen others asking for a gc here. 

Thankfully the atlassian team members are super quick to respond.

All the best! 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events