reduce repository that is above 8.7GB
Asked by Leonardo Pereira:

I made hundreds of deletions to reduce the size of my repository and when trying to commit. I receive a message stating that it is not possible to make new commits because my repository has exceeded the size of 8.7Gb. How do I perform the reduction if the commit with the exclusions is not accepted?


Answers:
author: Patrik S
body: Hello [@Leonardo Pereira](/t5/user/viewprofilepage/user-id/5375753) and welcome to the Community!

I have temporarily increased the size limit of your repository so you can push the changes with the cleaned repo :)

After you push those changes, please let us know so I can run a GC in the repository to remove any dangling objects that may be generated by the exclusions.

Thank you, [@Leonardo Pereira](/t5/user/viewprofilepage/user-id/5375753)

Patrik S

comments: author: Leonardo Pereira
body: Patrick,  
Thank you very much for your help, I have already committed to reduce the size of my repository.


author: Patrik S
body: Hello [@Leonardo Pereira](/t5/user/viewprofilepage/user-id/5375753) ,

You're very welcome!

Checking internally I see the repository size wasn't actually reduced, and your repository is currently **9.2GB**. As the size increase is temporary just so you were able to push, we kindly ask you to follow the instructions of the below article to reduce the size below the 4GB limit and/or move the large files to LFS :

* [Reduce repository size](https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/)

If we don't hear back from you, I'm afraid we'll need to reduce the size limit to 4GB again, which will put your repo in read-only mode.

Should you have any questions, feel free to ask.

Thank you, [@Leonardo Pereira](/t5/user/viewprofilepage/user-id/5375753) !

Patrik S


author: Leonardo Pereira
body: Patrik, good afternoon!  
I had reduced the size from 11gb to 8.3  
Because the message that appeared to me said that I had exceeded the 8.7Gb limit  
What is the actual size limit?  
8.7Gb or 4Gb  
I use the free subscription, if I switch to a paid subscription what would be the limit?


author: Leonardo Pereira
body: Could you guide me on the appropriate subscription plan for the size of my repository?


author: Patrik S
body: Hello [@Leonardo Pereira](/t5/user/viewprofilepage/user-id/5375753) ,

Regardless of the plan, the size limit of a repository is **4GB** , as documented in our [Manage your plan and billing documentation](https://support.atlassian.com/bitbucket-cloud/docs/manage-your-plan-and-billing/).

If you need to store large files in your repository we suggest moving those files to LFS as described in [Use BFG to migrate a repo to LFS](https://support.atlassian.com/bitbucket-cloud/docs/use-bfg-to-migrate-a-repo-to-git-lfs/). The Free plan comes with 1GB of LFS, while the Standard and Premium plans have 5GB and 10 GB, respectively.

You can also opt to stay in the Free plan and pay $10 for 100GB of LFS that can be used across any repository under your workspace. If you prefer to go with that route, please check the instructions on [Change your plan](https://support.atlassian.com/bitbucket-cloud/docs/manage-your-plan-and-billing/#Change-your-plan) page, more specifically the info panel in blue that contains details on how you can buy additional storage when in the Free plan.

Should you have any questions, feel free to ask!

Thank you, [@Leonardo Pereira](/t5/user/viewprofilepage/user-id/5375753) !

Patrik S


author: Leonardo Pereira
body: Patrick,  
The option to purchase additional space is not appearing for me.  

<br />


author: Leonardo Pereira
body: \<redacted\>


author: Patrik S
body: Hello [@Leonardo Pereira](/t5/user/viewprofilepage/user-id/5375753) ,

You will first need to click on "Atualizar plano", and then at the very bottom of the table you will see an option called "Add Overage"

![Screenshot 2023-12-13 at 6.21.51?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/296706i85E1A2508A4FEA27/image-size/large?v=v2&px=999 "Screenshot 2023-12-13 at 6.21.51?PM.png")

It's important to note that this will add extra LFS space, not repository space, so you will still need to [Migrate large files from your repository to LFS](https://support.atlassian.com/bitbucket-cloud/docs/use-bfg-to-migrate-a-repo-to-git-lfs/) .

Thank you, [@Leonardo Pereira](/t5/user/viewprofilepage/user-id/5375753) !


Tags: bitbucket-cloud

cloud