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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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 is over the size limit (2 GB) and will not accept further additions. Edited

Suddenly, I can not push to repo anymore.

Tried many ways on the below link :


But still can not push anymore.

The repo over 2G is this

Could you help ??


2 answers

0 votes
Ana Retamal Atlassian Team Sep 10, 2019

Hi Bryan,

When the repository exceeds the 2GB max size, it enters the read-only mode. I've run a garbage collection on it but the size remains at 4GB. Can you confirm that the local size is under 2GB? Have you tried to force push?

Let us know!


Thank you, Ana.


I tried to use BFG to clean my repo.


After that , I check each branch and manually delete some big files.

However, I still failed to push the change to remote repo.

What should I do next to get back to normal ?

I did tried --force push , but still failed.

0 votes
Mike Howells Atlassian Team Jan 10, 2020

For others experiencing this, please follow the guide mentioned in the error message. It has instructions on how to reduce the repository size below the 2GB limit, and how to optimise repository size in general.

Done so, however I still cannot push the mirror of the repo that I have decreased to 27MiB.

How do we run GC or push the updated history?

Suggest an answer

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

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

442 views 4 4
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