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

I reduced my repo size but bitbucket's size has increased, what can I do?

Nahuel I'm New Here Jan 04, 2021

Hello,

 

My repository was about to hit the 2.0GiB limit, so I ran BFG as suggested by Atlassian's docs but the repo size went to 2.26GiB, despite it only being less than a quarter of that size.

Running git count-objects -Hv shows the following:

count: 0
size: 0 bytes
in-pack: 61822
packs: 1
size-pack: 348.77 MiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes

What can I do to have the GC run on my repo?

1 answer

1 accepted

0 votes
Answer accepted

Hi @Nahuel ,

I see that you opened a support ticket for this issue and one of the engineers ran a git gc on your repo and its size has been reduced.

I just wanted to add a note here, also for any other users who may come across your post: if you rewrite history and push to Bitbucket, the size of the remote repo will get increased. This is because the remote repo will contain both new references and old references (prior to history rewriting). A git gc is needed on the remote repo to have the old references removed and then the repo's size will get reduced.

If we have the repo URL , we can trigger a git gc. If you don't feel comfortable sharing it here, a ticket can be opened with the support team via https://support.atlassian.com/contact/#/. In "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product.

A git gc on the remote repo can be triggered by the support team at the moment, we have a feature request to allow users to do so as well:

Please feel free to let us know if you need anything further.

Kind regards,
Theodora

Nahuel I'm New Here Jan 07, 2021

Thanks!

Like Theodora Boudale likes this

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,591 views 1 9
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