The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Storage limit warning

Mufeeda Ck
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 13, 2025
When attempting to commit code to my repository, I receive the following error message:
"remote: This workspace is over the 1 GB size limit. Reduce the size of your workspace or upgrade to a Standard or Premium plan to increase the size limit."
To resolve this, I deleted a folder within the repository that was approximately 1 GB in size to free up space. However, despite removing the folder and ensuring that it is no longer tracked, I continue to receive the same error when trying to commit new changes.
Please advise on the proper way to reduce the repository or workspace size effectively? 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 14, 2025

Hi and welcome to the community!

I can see in our system that your Bitbucket account has access to several free workspaces, and only one of them is over the 1 GB limit (this limit only applies to free workspaces).

I ran a git gc (garbage collection) on the two largest repos of this workspace and size of one of them has been reduced. As a result, the storage used by this workspace has been reduced, it is now less than 1 GB, and you should be able to write to the repos.

If you'd like to reduce the size of a repo further, you can do so with a tool like BFG:

Please keep in mind that committing file or folder deletions is NOT going to remove said files or folders from history. History in the repo needs to be rewritten so the files / folders are removed. BFG repo cleaner can do that. There is more info on the link I shared, and you can also check this answer of mine to a different question for additional info:

Please also keep in mind that if you rewrite history and push to Bitbucket, the repo will need another git gc for the old commits to get removed from the repo. You can leave a reply here and let me know (if you push a history rewrite), and I can run another git gc.

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

Kind regards,
Theodora

Mufeeda Ck
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 15, 2025

The issue got resolved. Thank you. 

Like • Theodora Boudale likes this
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 16, 2025

That's good to hear and you are very welcome. Please feel free to reach out if you ever need anything else!

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events