Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket Server - Deleting Repository did not Decrease Disk Usage?


We are trying to reclaim disk space on our Bitbucket Server instance.

We found some repositories that were no longer needed and deleted them, however the disk space usage has not gone down at all.

Is this a bug or expected behavior? What can we do to manage disk space usage?

Any guidance is appreciated, Thank you.

1 answer

1 accepted

0 votes
Answer accepted

Hi Patrick,

If a repository is forked to another repository and that fork still exists, the original repository will remain on disk even if it is deleted. Is that the case here?


Premier Support Engineer


Yes, I believe that is the case here. 

I had some users delete repo's forked into their Personal Projects but saw no change in the overall disk space usage.

Will the disk space usage go down only when both the original and forks are deleted?

Hi Patrick,

Yes, once the last fork is deleted the original repo will be removed from disk.



Premier Support Engineer


Hi, even though I deleted a repo with no forks, the repo still appears to be on the disk. (ie. 'E:\Bitbucket_Data\shared\data\repositories\1278')

Could there be an issue with Bitbucket Server's garbage collection? 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

123 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you