Forums

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

Request Garbage Collection

akupchanko
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!
April 8, 2025

 

Hi there!

 

I reduced the size of my 'mpp' repo to 144 Mb (confirmed with git clone). However, this repository's size remains 1.12 GB on Bitbucket.

Can I request manual garbage collection for this repository?

 

Best regards, Andrii.

 

 

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.
April 9, 2025

Hi akupchanko,

I executed a gc and this has reduced the size down only from 1.12GB to 997mb.

Unfortunately - the majority of the storage for that repository is likely being retained in your pull requests, a change was made some time ago to improve the speed of diff calculation by retaining binary files in your PR's:

  • As you have thousands of PR's, many of which were created after the introduction of those large binary files - it would be exceedingly difficult to delete a large number of PR's to reduce the size

I'd suggest cloning the repo, and pushing it into a blank repo in your workspace - this will only include the repo data (not metadata like PR's/permissions etc):

From there you may delete the original repo.

Please let me know if further help is required.

- Ben (Bitbucket Cloud Support)

0 votes
akupchanko
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!
April 9, 2025

Hi Ben,

 

Thank you for looking into this issue.
I didn't know PR would keep commits even after cleaning the history. It does make sense - I will recreate the repository.

Best regards, Andrii.

 

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