Forums

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

Repository size not updated

Esteve Dalmau June 16, 2025

The issue we are facing is that the repository size shown on Bitbucket doesn't reflect the actual size. A few weeks ago, we removed a significant amount of data from several repositories, some of which were over 200MB. Now, the actual size of those repositories is under 30MB.

However, Bitbucket still shows the old size (200–300MB). For example, when I download the repository, the size is around 20MB, not 200MB.

Could you clarify why the displayed size hasn't updated and whether there's a way to trigger a recalculation?

Thanks,

1 answer

1 accepted

0 votes
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 17, 2025

G'day, @Esteve Dalmau 

Welcome to the community!

When changes occur, such as file removal, we need to manually initiate garbage collection (GC) on the repository from our side. I have already done this, and the repository size in your workspace has now decreased. However, it remains quite large in some instances, which may require you to delete and rewrite your repository history. The best course of action is to refer to our documentation below on how to maintain a Git repository.

Maintain a git repository 

Regards,
Syahrul

Esteve Dalmau June 17, 2025

Thanks! We have already removed some repositories and upload it again to fix space problem. I will take a look at the documentation also.

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