Hi @Ana Retamal . I have a similar problem. BitBucket says the repo's size is 1.6 Gb but if I clone it the size is not more than 350 Mb. Could you please perform and git gc on my repository ? https://bitbucket.org/traffgen/rhprohost/src/master/
Also is there any way to perform it remotely? As far as I know this is not possible. Thx.
Hi, I have same issue here https://bitbucket.org/Liikennevirta/ios it is approaching 2GB limit, local copy size is under 1GB, could you please try gc on it ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ana Retamal
Hey!
Can you please help me by reducing the size of the repo on remote
https://bitbucket.org/dhruv-grappus/ios-influencer-connect/src
my repo locally is showing 302187 KB when I run "git count-objects -v"
Hope for an early reply,
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal , seeing as this ticket seems to say your job is just running git gc on repos, due to it not updating on bitbucket properly, could you run it on mine please?
https://bitbucket.org/wheelerruss/wordsy/
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
(hopefully that was obvious that it was tongue in cheek, and it's very much appreciated!)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal ,
I am facing same issue with my repository. can you please run GC from your end.
https://bitbucket.org/ptcinc/sfdcdevops/
Thanks,
Akshay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Ana Retamal,
Sorry to add to your list aha, but I'm also having this problem with this repo: https://bitbucket.org/neuromersiv/neuromersiv-vr
Local object count reports size as 183MB, but the repo still says 1.6GB, I've given it a couple days to see if it'd automatically run the GC, but so far nothing has changed.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal,
could you please try and decrease the size of the following repo?
https://bitbucket.org/data-lens/unstructured-lens
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem was solved by a kind colleague of yours after I opened a ticket at https://support.atlassian.com/contact.
Regards,
Tommaso
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @[deleted] , I've been on holiday so I didn't see your message.
I'm glad it's solved now!
Best regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi! same issue here! could you please take a look at my repo??
https://bitbucket.org/marvrus_foriegn/speakit_story/src/master/
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ramu Kamath , I've checked your account but it looks like you don't own any repositories. Could you let me know the name of the repo you were referring to so I can have a look?
Regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal
1. Can you help us understand why this irregularity occurs in the bitbucket cloud?
2. Is it possible to do git GC from our end rather than connecting Atlassian every time this issue occurs and how?
Thanks in advance
Regards,
Manjunath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not an irregularity, it is normal that this happens and it's a result of some of the operations Git performs.
Currently, it's not possible for users to run git gc on remote repos, but you're welcome to contact us anytime you need it. There's also a Feature request that you might be interested, you can find it at Issue 11593 . You can vote for it to increase its popularity or write a comment if there's anything you'd like to add. Our development team will give a first-hand update through that ticket if there's any progress or review made.
Hope that answers your questions, Manjunath!
Cheers,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal / Atlassian Team: Can you please run GC on our business intelligence repository?
Thank you,
Eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eric!
I've run GC on the repo and its size has decreased.
Hope it helps,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anna,
Can you please run gc on this repo?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
we are also experiencing a similar issue with repo:
https://bitbucket.org/_tensei/sbertech
The local size-pack is about 0.4GB repo shows size of 1.9GB.
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal ,
I have the same problem, could you please take a look at my repo
https://bitbucket.org/chibuike007/nafc.git
Currently shows 2.04GB for some reasons and I cant do any merge, please it is urgent.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal ,
I have the same problem, could you please take a look at my repo
https://bitbucket.org/chibuike007/nafc.git
Currently shows 1.13GB for some reasons.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @chibuike007 ,
I ran a git gc on your repo and the size decreased to 203.5 MB.
Hope that helps!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
similar issue here, local repo is less than 1mo but the one on bitbucket is showing 34,7, could you have a look ?
thanks in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Ana Retamal ,
I have the same problem, could you please take a look at our repository?
https://bitbucket.org/hiscoxpsg/magic-apps-testauto.git
Current size shows 1.01 GB for some reason.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Ana Retamal , I have the same problem, could you please take a look at our repository?
https://bitbucket.org/ss26dev/map-coordinates/src/master/
Thank you in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for reaching out. I've run a git gc on your remote and the size was reduced to 846.2 MB. Is this the same size it's showing on your local?
Best regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal ,
Our repository was stating a 1.5GB size via the admin page and we tried deleting two build branches in hopes of purging the commit history and then recreated them. By doing so the repository size jumped up to 1.7GB.
Locally, however, the size is at most 600MB.
Could you run git gc on bitbucket.org:nrfwebmaster/d8.nrf.com.git to see if there is any reduction in the size?
Thank you in advance.
-Dan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dan,
I've checked your repository and I could see that its current size is 96.5 MB, so it seems like the automated git gc run on it already.
For the future, I'd recommend you submitting a new question, as replying to an already existing (an old) one will reduce the chances of one of us seen it.
Best regards!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal ,
Please run git gc on https://balramt_r@bitbucket.org/triedgeteam/triedge_repo.git
Thank you in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @triedge_s ,
I've run the git gc but the size has not changed, it stays at 1.8GB. Can you confirm what's the size of your local repository?
Best regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @triedge_s ,
I've run git gc again but the size hasn't changed. Can you confirm that you pushed the new reduced repository to the remote? You need to take action on your side first so it will be reflected on the remote.
Let us know if you need anything else!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Atlassian Team,
I have a similar issue: my private repository should be around 145 MiB, while Bitbucket cloud shows 1.54GB.
Could you, please, run git gc on https://georgy_guryev@bitbucket.org/georgy_guryev/pfft.git ?
Thanks,
Georgy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal or Atlassian Team,
I am also facing the same issue. My code folder is actually around 0.25 GB (size-pack 251487 KB's), but the repository is showing 1.85 GB.
Could you please help me to resolve this? as after 2GB my repo will become read only mode.
https://bitbucket.org/hiscoxpsg/magic-apps-testauto.git
Thanks,
Logesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Logesh Praveen Shunmugavelu
The size of your repository is not only the size of the size pack, it's the total size of the items displayed when you run
git count-objects
From the official Git documentation:
count: the number of loose objects
size: disk space consumed by loose objects, in KiB (unless -H is specified)
in-pack: the number of in-pack objects
size-pack: disk space consumed by the packs, in KiB (unless -H is specified)
prune-packable: the number of loose objects that are also present in the packs. These objects could be pruned using
git prune-packed
.garbage: the number of files in object database that are neither valid loose objects nor valid packs
size-garbage: disk space consumed by garbage files, in KiB (unless -H is specified)
As you can see, the rest of the items such as garbage and duplicate objects also counts as part of the repository size.
I've checked the size of the remote and it's 1GB at the moment. If you still don't think this corresponds to the size of the local repo, please show us the output of git count-objects and we'll continue helping you.
Best regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal ,
Please find attached the output of git count-objects -vH. As you see below the size-pack is just 231.26 MiB, but not sure why the repository is showing 1.02 GB. Would it be possible to clear garbage and duplicate objects?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Logesh Praveen Shunmugavelu , I've run a git gc on the remote and the size decreased to 212.9 MB.
Hope that helps!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to hear that! Have a nice day :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal
The size has gone up to 1.07 GB again. Could you please run git gc command against the below repository?
https://bitbucket.org/hiscoxpsg/magic-apps-testauto.git
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Logesh Praveen Shunmugavelu , I've run git gc on your repo and the size has decreased to 216.1 MB.
Have a good day :)
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal
I am experiencing similar issues, tried reducing size, but still says 2gb.
can you please run GC on both repos
https://bitbucket.org/boojiadmin/booji-fe
https://bitbucket.org/boojiadmin/booji-fe-2gb
much appreciated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @booji, thanks for reaching out :)
I've checked the first repo and looks like the git gc must have run automatically, as the size shows 3.9 MB on disk.
Regarding the second repository, I've run the git gc and the size has decreased to 740.4 MB.
Hope that helps! If you need anything else in the future let us know.
Best regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I need help to run the git gc on our 3 remote repos stored in my bitbucket cloud because I already did all the steps to reduce locally the size but not it has not synced in the cloud. I need a cleanup on a repos and any help is welcome, Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, can you please run gc on my repo. Its showing 321 mb locally but i cant push anything as it has reached 2 gb remotely.
https://bitbucket.org/solutelabs/slnewwesbite/
Thank you,
Nishan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have reduced our repo to 26meg using:
$> git filter-branch --index-filter 'git rm -rf --cached --ignore-unmatch curator/assets/' --prune-empty --tag-name-filter cat -- --all
and
$>git push origin --all --force
and
$>git push origin --tags --force
Worked great! But BitBucket still shows 1.6G.
Can you please `git gc` on git@bitbucket.org:pkl_wellborn/curator.git so it will show the updated size?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Issue was resolved by contacting support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal Ortiz, could you run `git gc` on https://bitbucket.org/alwaysai/edgeiq-models/? I just migrated all the large files to git LFS with BFG but the size listed on Bitbucket is even larger than before!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you also run 'git gc' on https://bitbucket.org/alwaysai/edgeiq/? We cleaned that one up a while back and I noticed that the size is still quite large. I wonder if garbage collection will also help on this repo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal , could you take a look on this repo too? It should be much smaller than it is currently shown. It is like that for more than a month after the cleanup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Miroslav Bartyzal , I've run a git gc on the remote and the size decreased to 8.7 MB.
Cheers!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Retamal ! I've the same problem, could you please run a git gc on the repository https://bitbucket.org/marcelofrias/bliss ?
How could i run git gc in my repo? Just asking for future. Thanks !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Facundo
I've run the git gc on the remote but the size hasn't changed, it remains as 1.9 GB.
For the future, you could run git gc on your repository using the following command. Note that this will only apply to your local repository, this will not be executed on the remote repository that is hosted in our servers.
However, that will not magically decrease the size of your repository, you'll need to reduce the size of your repository as explained at Reduce repository size.
Let us know if you have any questions!
Best regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Paul, no worries! I've run a a git gc in your remote repo and the size has decreased to 248.3 MB.
Have a nice day,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could I also get `git gc` run on our https://bitbucket.org/vosbalance repos? The one says it's 1.2 gigs, but locally I have `size-pack: 168.69 MiB`.
Thanks!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am facing a similar issue in my private repo https://bitbucket.org/scotneygroup/toca-system/src/b_Dev_3_1/
The settings page says its size is 1.1 GB while `size-pack` of `git count-objects -v`is 463810 KB.
In my case, there had once been a big file in commit history, so I forked the repo to https://bitbucket.org/lalarukh/test-lala/src/b_Dev_3_1/ and rewrote history using BFG following the instructions to see if it helps to reduce the size of the repo.
Now, the settings page of the forked repo says its size is 1.3 GB while `size-pack` of `git count-objects -v` is 434997 KB.
I tried to run the git gc but it seems to not work in my case. Can you help me with this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @LalaRukh Talha ,
You're seeing different sizes because you're measuring different things (remote repo vs local repo) and they don't always have to match.
Forking the repo will not help, as it will just copy everything from the old repo, including its history (which contains the big file you mentioned above). If you want this file to not be part of the repo, the easiest way would be to delete the image and start a new repository from scratch (initializing git again and uploading it to Bitbucket) so there's no trace from that file.
Running a git gc on the local won't work either, as what you want to reduce is the size of the remote. I've run a git gc on the remote for you and the size has decreased to 215.2 MB.
Hope that helps!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.