Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Best practive for repository size

Hi ,


I am new with bitbucket, and I recently got an error remote: Repository is over the size limit (4GB) and will not accept further additions.

Is the 4gb per repo, so if there are multiple branches it means it will share the 4gb limit?

Is there any best practices to keep the file size within 4gb? or an alert that after our latest commit we are nearing cap size.





1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 23, 2022

Hi James,

The Bitbucket Cloud account with the same email as your community account doesn't have access to any repos over the 4 GB limit. Does this issue concern a repository you access from a different account? Or did you push a git reset to the repo (that will trigger a full garbage collection)?

The 4 GB limit is for the whole repository, including all branches of the repo. When the repo's size is over 2GB, you’ll see a warning in the Repository details panel to let you know you are over halfway to the 4 GB repository size limit. This panel is at the top right corner of the Source page of the repo (on Bitbucket Cloud website).

If you track any large files in the repo that you don't need to version, it's best to rewrite history and remove these files. In case you do need to version large files, we recommend using Git LFS. You can check the following reply of mine to a different post for more details on both options, and let me know if you have any questions:

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events