Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,119 views 0 7
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