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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,048 views 1 5
Read article

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