Forums

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

Bitbucket Repository Size Mismatch After Reducing Objects

Elumalai Shanmugam
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!
March 28, 2025

Despite reducing the repository size locally (as shown by git count-objects -v indicating a size of 494 KB), Bitbucket still displays the repository size as 3.8 GB. This discrepancy suggests that stale or unnecessary data may still be present on the remote repository or that Bitbucket’s repository size calculation hasn’t updated correctly.

Expected Result: The repository size displayed on Bitbucket aligns with the local repository size (494 KB).

Actual Result: Bitbucket reports the repository size as 3.8 GB, which is significantly larger than the local size.

1 answer

0 votes
Brant Schroeder
Community Champion
March 28, 2025

@Elumalai Shanmugam Welcome to the Atlassian community

Per the support article here: https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/#Garbage-collection-is-automatically-run-to-delete-dangling-commits  Garbage collection probably needs to be run.  You can submit a support issue with Atlassian making this request.  If you are on a free plan let me know and I can escalate it to Atlassian here.

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

Hi @Elumalai Shanmugam 

I've just executed a gc against your repository which has reduced the size from 3.8GB to 570KB.

I can confirm that your total workspace size is only 302.4MB which is well within the 1GB limit that will be enforced in April:

Cheers!

- Ben (Bitbucket Cloud Support)

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