Forums

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

Can't push to repo even if repo is under 2GB

Paras Gorasiya October 9, 2019

My repo size is below

count: 4483

size: 728700

in-pack: 23466

packs: 26

size-pack: 1625037

prune-packable: 62

garbage: 0

size-garbage: 0

Its clear that its under 2GB, still i can't push commits.
I even tried 

git reset --hard HEAD~1

and then 

git push --force

but no luck.
Please help me fix this issue, its giving me nightmares.

Thanks

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 11, 2019

Hi Paras,

Thanks for reaching out. Can you tell us the name of your repo so we can check in our end? 

From looking at the output you sent us, it seems like the repo it is indeed over the 2GB limit. I've added some notes to help us make the calculations: 

 

count: 4483

size: 728700 -> disk space used by loose objects, in KiB. 728700 KiB = 0.746 GB

in-pack: 23466

packs: 26

size-pack: 1625037 -> disk space consumed by the packs. 1625037 KiB = 1.66 GB

prune-packable: 62 -> number of loose objects that are also present in the packs. These objects could be pruned using git prune-packed.

garbage: 0

size-garbage: 0 

 

That gives a total of 2.4 GB, which is over our limit as explained at What kind of limits do you have on repository file size? You can try doing git prune-packed and see if that removes enough unnecessary content as to put the repo under 2 GB, otherwise you'll need to follow the steps at Reduce repository size.  

Please follow the above instructions and let us know how it goes! If you need any further assistance, we'll be happy to continue helping you.

Best regards,

Ana

Paras Gorasiya October 11, 2019

The repo I am referring is Ryde Driver iOS. Now its under 2GB but it was around 1.6GB earlier and after a commit (which didnt include much) it went above 2GB.

Can you please clarify what's wrong?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events