Forums

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

Garbage Collection Please (03/28/2025)

digitalb1
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

Hello

Like others, we received the 1GB e-mail.

We have cleaned things up and removed branches, but the repo size has not changed from 1.9GB

Please run garbage collection

Thank you!

Edit: Thanks to the Atlassian team for reaching out and getting this resolved!!

2 answers

2 accepted

1 vote
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 31, 2025

Hello @digitalb1 ,

thank you for reaching out to Community!

We have executed a garbage collection in your repository, but unfortunately, it hasn't changed the size much, which is kept at 1.9GB.

This usually means there are still large files occupying space. Could you run the following command and check if any large files are listed : 

git rev-list --objects --all \
| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \
| sed -n 's/^blob //p' \
| sort --numeric-sort --key=2 \
| tail -n 30 \
| cut -c 1-12,41- \
| $(command -v gnumfmt || echo numfmt) --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest

This should list the 30 largest files in the repository. In case you identify any outstanding large files, you can migrate them LFS using BFG and push the cleaned-up repository again, so we can run a new GC on our end.

However, if the above command returns only small files, please let us know so we can investigate further.

Thank you, @digitalb1 !

Patrik S

1 vote
Answer accepted
Brant Schroeder
Community Champion
March 28, 2025

@digitalb1 Welcome to the Atlassian community

I have escalated. 

Suggest an answer

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

Atlassian Community Events