Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,301,401
Community Members
 
Community Events
165
Community Groups

Repository is over the size limit (4 GB) and will not accept further additions.

Hello

We have accidentally uploaded a folder with a large number of files and we have exceeded the allowed limit of 4Gb.

 

I have deleted the files locally, but I can no longer commit because I always get the same error. I have executed different commands that I have found in this forum, but it seems that none of them work for me,

 

I think the only thing I need is to run the garbage collector. Can you please help me?

Thanks

3 answers

1 accepted

0 votes
Answer accepted
Caroline R Atlassian Team Nov 23, 2021

Hi, @dmaciasLZ

Thank you for reaching out to Atlassian Community!

I ran the GC against your repository and managed to reduce it to 6.2 GB, which is still a large size.

As you mentioned you have accidentally uploaded a folder with a large number of files, I have temporarily increased the repository size, so you can push your changes to remove this folder from the remote repo.

Please let me know when you push these changes, so I can trigger another git GC.

If you have any questions, please feel free to let me know.

Kind regards,
Caroline

Hi @Caroline R  I am having the same issue. Can you please help me.

Caroline R Atlassian Team Dec 24, 2021

Hi, @Raju Prasad

I would like to ask if you could please create a new question for your issue, providing details on the errors you see and also whether it concerns a Bitbucket Cloud or Bitbucket Server repo.

We generally encourage users to create a new question for their issue instead of posting on someone else's question, because 1) the root cause and resolution may be different for each case 2) a question can become cluttered and difficult to follow if we try to troubleshoot multiple users' issues in it.

Please feel free to let me know if you have any questions. 

Kind regards,
Caroline 

Hello, @Caroline R 

I have the same problem

Caroline R Atlassian Team Mar 14, 2022

Hi, @Oleg Vegera, welcome to the community! 

I would like to ask if you could please create a new question for your issue, providing details on the errors you see. 

We generally encourage users to create a new question for their issue instead of posting on someone else's question, because 1) the root cause and resolution may be different for each case 2) a question can become cluttered and difficult to follow if we try to troubleshoot multiple users' issues in it. 

Please feel free to let me know if you have any questions. 

Kind regards, 
Caroline 

Thank you,

 I have already been able to delete the files, but after another commit the 7Gb limit has been exceeded again, is it possible that now the GC can be run to free up space?

 Greetings,

 

David

Caroline R Atlassian Team Nov 23, 2021

Hi, David! 

Thanks for getting back to us! I ran the GC against your repository and managed to reduce its size to 961.0 MB, so I believe everything was removed now. 

Please let me know if you have any questions related to this subject. 

Kind regards,
Caroline 

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,265 views 2 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