The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Require gc on remote repo after using BFG Repo-Cleaner

tim-bbav
March 31, 2025

Hi, I received a warning that my repo was well above the new 1GB limit, so I ran BFG Repo-Cleaner which reduced the local repo size from over 2GB to under 700MB.

However, upon a full push to the remote I see that the size has not reduced (in fact, it may have gone up).

It looks like a full gc needs to be run on the repo. Can somebody at Atlassian please run this for me?

Many thanks

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 31, 2025

Hi @tim-bbav 

Often times garbage is accumulated as a result of cleanup operations - this is either removed by an automated garbage collection process (only executes once a certain threshhold is met) or via manual execution on the server-end by Atlassian staff.

I've just executed a gc which reduced the repo size from 3GB > 700MB.

Your workspace is currently consuming 989MB which is close to the 1000GB limit which will be active on 28th April. I'd suggest shrinking other repositories if possible.

Cheers!

- Ben (Bitbucket Cloud Support)

tim-bbav
April 1, 2025

Hi @Ben 

Thank you for that!

I have just shrinked the lightbox-3-installer repo and did even more shrinking on the lightbox-3 repo (having outsourced the largest files). This should have saved a couple more hundred MB. Would you mind running GC again please?

tim-bbav
April 25, 2025

Hi, I'm worried that I'm going to lose write access on Monday unless I gc my repos again. They have definitely been reduced in size, but are currently showing much larger in my workspace. Can someone please help? (I wish there were a way of flagging gc without having to go through the forums)

Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 27, 2025

Hi @tim-bbav 

I've just executed gc against 2 repo's that seem to have increased in size - your workspace is below 1GB again:

434MB > 97MB
896MB > 436MB

It is very important that you and your colleagues delete your local clone for those repo's and perform a fresh clone, as this will prevent pushing back old refs and inflating the size again.

Cheers!

- Ben (Bitbucket Cloud Support)

tim-bbav
April 28, 2025

Thank you Ben, much appreciated!

1 vote
Tansu Akdeniz
Community Champion
March 31, 2025

Hi @tim-bbav 

Welcome to the community!

I notified the Atlassian support team here. They will reach out to you!

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events