Forums

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

Repo size on Bitbucket website differs from local repo

Rebecca Phillipson
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!
March 28, 2018

Hi,

I have a private repository: https://bitbucket.org/raphillipson/pluto_radiation.git

and I am receiving warnings that I am over the 1GB limit. In fact, the size on the Bitbucket cloud under settings is listed as 2GB.

However, when I run "git count-objects -v" on my local repository, which is up to date, I see the size is 62KB. Can you let me know where the issue is? I've run git gc and reflog multiple times.

Thanks,

Rebecca

1 answer

1 accepted

1 vote
Answer accepted
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 29, 2018

Hi Rebecca! I've checked the size of your repo in our system and I can see it's 172.9 KB. Sometimes it might take some time for the remote and the local to sync, as also some automated operations have to be run in our end.

Is there anything else I can help you with?

Best regards,

Ana 

Rebecca Phillipson
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!
March 29, 2018

Hi Ana - The Bitbucket remote now correctly reflects the size of my repo. Thanks!

 

-Becka

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 30, 2018

Happy to hear that, Becka! Have a good day :)

Ana

tempelorg July 16, 2018

Ana, I have the same "problem". I've performed the recommended actions to remove large files, using BFG, and "git count-objects -v" reports now:

 

count: 0

size: 0

in-pack: 6582

packs: 1

size-pack: 671322

prune-packable: 0

garbage: 0

size-garbage: 0

I then pushed my local copy back using "git push --force"

Now, Settings tell me that the repo's size has even increased from about 1.3 to 2.5 GB. I had done the push 3 days ago, yet it still says 2.5 GB. How long does it take to update the actual size in the Settings page? It is common to take several days?

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 17, 2018

Hi Thomas, welcome to the Community!

An automated gc normally runs automatically, but in some cases it can take too long so we can do it on your behalf.

I've run a git gc on your remote repository and the size went down to 656.1 MB.

Is there anything else I can help you with?

Kind regards :)

Ana

tempelorg July 17, 2018

Much better. Thank you, Ana.

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 17, 2018

You're welcome! Have a good day,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events