The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Repository size stuck over 2 GB. Garbage Collection Request

Waldo Ancacoy
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 18, 2025

Hi Atlassian team,

we've performed a full history rewrite and removed all large files using git filter-repo. Locally, the repository is now ~509 MB (.git/ folder), and git count-objects -vH confirms there are no loose or dangling objects.

We have already force pushed the cleaned history to a new workspace, but Bitbucket still reports the repo size as 2.3 GB.

Could you please run a manual garbage collection (git gc) on your backend to reflect the actual size?

Repository: net-works-dev/chile-ciencia-frontend.git

Thank you so much for your help!

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 18, 2025

Hi @Waldo Ancacoy 

Whenever cleanup operations are performed on a repository - this creates garbage at the server-side that must be garbage collected. Therefore, the size inflation is expected temporarily.

I've just executed a server-side GC for you, and this has reduced the size down from 2.3GB to 508MB :)

Cheers!

- Ben (Bitbucket Cloud Support)

0 votes
Edwin Kyalangalilwa
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
June 18, 2025

Hi @Waldo Ancacoy - Please create a support request through the Atlassian partner portal.

https://support.atlassian.com/contact/#/

Screenshot 2025-06-18 at 16.03.19.png

Waldo Ancacoy
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 18, 2025

Hi @Edwin KyalangalilwaI did that and it brought me to this forum. I only have two options: Explore Community or View Documentation. The documentation says to remove all large files (I already did that). So now I'm here because I saw other questions about garbage collection.

Like Edwin Kyalangalilwa likes this
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events