Forums

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

Repository size clean up GC request

steve-s1188 April 22, 2025

Hi, I've cleaned up a repository as it exceeds the new 1Gb size limit. However the stated size has not decreased. Could a GC be run please?

Thanks in advance !

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 22, 2025

Hi @steve-s1188

Welcome to the community.

I went ahead run Git GC, however, the size remains the same.

Could you confirm if you've used the BFG tool the remove large files in your repository?

Regards,
Mark C

steve-s1188 April 23, 2025

Hi @Mark C

I've looked again, and used the BFG tool. I wanted to move the larger files to LTS rather than remove them but need more than the 1gb of LTS space. Does upgrading the plan from Free to Standard remove the 1gb limit being imposed on the 28th April? or does that apply to all plans?

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 23, 2025

Hi @steve-s1188

Yes, upgrading to the Standard plan removes the 1 GB limit per workspace.

Regards,
Mark C

steve-s1188 April 24, 2025

@Mark C  

thanks for clarifying that.

Could you run a gc again. I've managed to remove some old files using the tool so expecting the repo size to go down.

 

thanks.

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 28, 2025

Hi @steve-s1188

GC is done, from 2.6 GB, the repo size is now down to 1.9 GB.

Regards,
Mark C

steve-s1188 April 29, 2025

@Mark C  thanks for that.

I was expecting the size to be smaller.

When i run a git clone --mirror to get the bare repo it says: 

 

retrieving objects: 100%, 738.66 MiB  ...

and when I run a git count-objects -vH this is the output.

count: 0
size: 0 bytes
in-pack: 202326
packs: 1
size-pack: 744.06 MiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes

 

I have also run git log on the full history for the files I rewrote history for and they do not show up.

 

Thanks.

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 29, 2025

Hi @steve-s1188

I went ahead and raised a support ticket for us to investigate this further.

You should receive the notification email by now.

Let's continue our discussion there.

Regards,
Mark C

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