Forums

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

Garbage collection for my repo

Florian Eichin
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!
June 11, 2025

Hello,

can you please run a garbage collection for my repository `databases`.

I removed a lot of large filse. Localy the repo is now 200MB. On Bitbucket it is still >700MB

Thank you :)


Best regards

Florian

1 answer

1 accepted

1 vote
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 12, 2025

Hi @Flori 

I've just executed a gc, and this reduced the size of that repo down from 780mb > 600mb.

The reason for the size difference in remote vs local is remote metadata that isn't pulled from a clone. You have a pull request in your repository that was likely made before you got rid of any large files, that is retaining the size of those large files (this is done to improve diff performance).

To resolve this:

NOTE: Performing the above will remove any metadata associated with the repository such as PR's, user permissions, pipelines etc but keep the commit history/binary data

You may also simply upgrade to a paid plan which does not have the 1GB workspace limit: https://www.atlassian.com/software/bitbucket/pricing

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