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

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


Answers:
author: Caroline R
body: Hi, [@dmaciasLZ](/t5/user/viewprofilepage/user-id/2274377)!

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

comments: author: Raju Prasad
body: Hi [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) I am having the same issue. Can you please help me.


author: Caroline R
body: Hi, [@Raju Prasad](/t5/user/viewprofilepage/user-id/4683018),

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


author: Aaditya Raj Karki
body: [@Caroline R](/t5/user/viewprofilepage/user-id/3934006)   
I have the same problem 4GB exceeded to 4.82 and i cannot commit file after removing it to clear the space

comments: author: Caroline R
body: Hi, [@Aaditya Raj Karki](/t5/user/viewprofilepage/user-id/5043388), 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 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.  
Kind regards,   
Caroline


author: Oleg Vegera
body: Hello, [@Caroline R](/t5/user/viewprofilepage/user-id/3934006)

I have the same problem

comments: author: Caroline R
body: Hi, [@Oleg Vegera](/t5/user/viewprofilepage/user-id/4811241), 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


author: dmaciasLZ
body: 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

comments: author: Caroline R
body: 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


Tags: bitbucket-cloud

cloud