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: 

Bitbucket storage figure doesn't make sense

Nucleo Studio
July 20, 2026

We have a repository that is shown to be using 960MB of storage and we are unable to commit up to it now. The thing is that on disk it totals around 9MB.

How can we "clean" this up so it really only takes up what it is?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Ajay _view26_
Community Champion
July 20, 2026

Hi @Nucleo Studio 

The 9MB you see on disk is just the current working tree.

The 960MB Bitbucket is reporting is the total size of the bare repository — that includes every commit, every version of every file, and every object in the packfile across your full history.

Large binaries that were committed at some point (images, build artifacts, datasets, etc.) stay in the Git history forever even if they've been deleted from the current branch.

Nucleo Studio
July 20, 2026

Ok thanks, 

I have just deleted the repository and created a new one with the same files, it now is only 6.9MB

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events