Some weird data about repository size

Hi,

We use a BB project as a template to be forked to create "real" projects. When I get this repository settings page, I see this repository size is about 300 MB, and this scared me. So, I made a little analysis.

 

git clone --mirror git@bitbucket.org:xxxxxx/template
git count-objects -v 
count: 0
size: 0
in-pack: 11
packs: 1
size-pack: 8
prune-packable: 0
garbage: 0
size-garbage: 0

The mirror flag is supposed to get everything from the repository. 8 kB is much more what I'm expecting from this template which handles a folder structure and some settings files.

 

I made another test: run BFG Repo Cleaner to search files bigger than 1MB and...nothing.

 

What really really scared me is I've forked this repository to create a new projet. This new project is also empty (except the settings files), it has the same size-pack and BFG Repo Cleaner also doesn't find any big files. But the BitBucket interface tells me this 8 kB repository eats 2.1 GB !!!!!!!!!!!!!!

 

Atlassian guys and girls, I think you've some troubles in there.

 

1 answer

0 vote
Jesse Yowell Atlassian Team Jun 24, 2015

Romut,

If you cleaned your (main) repository, it just means that we need to do server-side cleanup. We do very small amount of garbage collection after every push, but this won't capture any expired / old refs over time. Simply e-mail support@bitbucket.org with the account / repo and we can take a look and do a more thorough cleanup on our side.

Thanks,

Jesse

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

27,483 views 26 12
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you