Forums

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

Run garbage collection on repository

karljohanreite
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 21, 2025

Hi Atlassian team,

I’ve rewritten my Git history and reduced its size. But when pushing to remote, it reports a much larger size. Could you run garbage collection and recalculate the repo size on your end?

This is for the repository [REDACTED].

Thanks very much!

2 answers

1 accepted

0 votes
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 24, 2025

Hi @karljohanreite 

After running cleanup operations, the size is expected to remain the same until a server-side GC is executed. This happens automatically once a certain garbage threshold is met or can be triggered manually by a support technician.

I've just executed a gc and it has reduced the size down from 496MB to 7MB.

Please note that this is a public forum, so I've redacted your workspaceID/repo slug - we are able to see this information so it is not necessary to share this publicly.

Cheers!

- Ben (Bitbucket Cloud Support)

0 votes
Mikael Sandberg
Community Champion
August 21, 2025

Hi @karljohanreite,

Welcome to Atlassian Community!

I have notified the Atlassian support team that is on here and they will reach out to you within 2 business days to get this resolved.

Suggest an answer

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

Atlassian Community Events