Issue #9844 resolved

Repository size greater than 1 GB message

Arsalan Ahmed
created an issue

Hi,

We have a repository at : https://bitbucket.org/PaintNiteTeam/paint-nite

showing message that repository size is greater than 1 GB. I have removed the unused branches and other large files but it's still showing same message.

The issue seems to be the same as https://bitbucket.org/site/master/issue/9602/reported-repository-size-seems-wrong.

I think forced garbage collector need to run with repacking of repository to fix the message. Other users are also not able to clone the repository on low internet connection and getting message:

fatal: The remote end hung up unexpectedly fatal: index-pack failed error: RPC failed; result=56, HTTP code = 200

Comments (3)

  1. Abhin Chhabra [Atlassian] staff

    Hi Arsalan Ahmed, I have run an aggressive garbage collection and repacking on your repo and the size is still 1.5G. I suspect that the large objects in your repo's history are still there.

    The person in the other issue you mentioned ran git count-objects -v -h and it returned numbers that did not match our repo size. In your case, running the same command returns:

    git count-objects -v -H
    count: 0
    size: 0 bytes
    in-pack: 39878
    packs: 1
    size-pack: 1.48 GiB
    prune-packable: 0
    garbage: 0
    size-garbage: 0 bytes
    

    Please take a look at this document and make sure that the deleted objects aren't still in your repo history.

  2. Log in to comment