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

Repository size differs from the real one

At the morning our repository size was about 1.3GB, but now its 2.8GB and we can't work with it. 

I can't imagine what should be commited to add a 1.5GB to our repository. And I think that this is the problem on your side. 

Also, i've cloned repository to my computer and checked the size of .git folder. It's about 1.3GB. So, it still looks like a problem on your side.

Could you please check it?

2 answers

1 vote

Hello @Aleksander_Sorokin,

It's hard to tell what happened without knowing what repository you're talking about.

Repositories don't grow on their own, I'm pretty sure it was an accidental commit. It might've happened anywhere, not necessarily on the main branch.

Also, i've cloned repository to my computer and checked the size of .git folder. It's about 1.3GB.

Looks like whoever accidentally pushed something large realised that and fixed it soon afterwards.

Maybe it's just time to do git gc on your side?

Git runs GC automatically from time to time, but that doesn't happen on every change and doesn't necessarily collect all orphan objects every time it runs because GC is in fact quite expensive operation. So even when the repo size is reduced, it might not be reflected in Bitbucket's UI immediately.

Please let me know what is the repository in question. Note that Community questions are public, so if that's a concern, please feel free to open a support case with us.

Hope this helps. Let me know if you have any questions.

Cheers,
Daniil

Maybe it's just time to do git gc on your side?

Suggest an answer

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

Contest: Share your custom Bitbucket Pipe and win

Announced in this blog, this holiday season we’re celebrating all things CI/CD and between now and the end of 2019 we’ll be showcasing content, use cases, feature announcements and more. One featur...

1,037 views 4 4
Join discussion

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