Forums

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

Unable to get the repo size to below 4GB

Deepak Thomas October 20, 2021

Hi, can anyone from the Atlassian team help us get our repo size to below 4GB? It is currently at 4.05GB and we can't seem to prune it as it is disallowing any git push, git gc, etc

2 answers

0 votes
Deepak Thomas October 20, 2021

any chance we/someone can do a git gc on the server side?

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2021

Hi @Deepak Thomas 

I am not with the Atlassian team, but I wanted to suggest this article to give you some ideas/steps to try:

https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/

Kind regards,
Bill

Deepak Thomas October 20, 2021

Hi Bill, we'd followed that exact link before as per Atlassian's pointers and tried to remove large files. We couldn't try undoing the last push because the large commits were made earlier. We have been unable to get ahead yet. That's why I was hoping the Atlassian team could do a `gc` from the server.

Thanks for trying to help.

Deepak Thomas October 20, 2021

 

This is where we are stuck. After following all the steps mentioned in the Atlassian doc, we can't get ahead. Same error with a force push too.

$git push

Enumerating objects: 21, done.

Counting objects: 100% (21/21), done.

Delta compression using up to 8 threads

Compressing objects: 100% (9/9), done.

Writing objects: 100% (13/13), 1.23 KiB | 1.23 MiB/s, done.

Total 13 (delta 8), reused 7 (delta 2), pack-reused 0

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

remote: 

remote: Learn how to reduce your repository size: https://confluence.atlassian.com/x/xgMvEw.

To https://bitbucket.org/<REPO>

 ! [remote rejected] <BRANCH> -> <BRANCH> (pre-receive hook declined)

error: failed to push some refs to 'https://bitbucket.org/<REPO>'

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events