Forums

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

Garbage Collection in Bitbucket

Matthew Lenk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 13, 2026

Hello,

 

I am working on a repository that is near the 4 GB size limitation.

I cloned a mirror of the repo to local, and the git count was around 3.7 GB. I rewrote the git history to exclude a .hex file and my git count was reduced to about 1 GB locally. I reflogged and ran the GC locally. I force pushed my changed mirror to remote. The remote is still saying the size is around 3.9 GB.

 

Is there a way to trigger garbage collection on my Bitbucket Remote Repo to see if my changes have reduced my size? 

 

Thank you,

 

2 answers

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 13, 2026

Hi @Matthew Lenk 

May you please raise a support ticket directly using your Premium workspace URL?

You have many repositories, so we'd need you to share the name of the repository you're referring to (which would not be appropriate to do so here, as this is a public forum).

If you're not able to raise a ticket - please let me know your timezone so I may raise one on your behalf with the team that operates during your working hours.

Cheers!

- Ben (Bitbucket Cloud Support)

0 votes
Mikael Sandberg
Community Champion
August 13, 2026

Hi @Matthew Lenk,

Welcome to Atlassian Community!

I have notified the support team that is on here and they will reach out to you within 2 business days to run the garbage collection on the backend for you.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events