Hi, we recently ran BFG cleaner in order to stay well below the new 1GB limit for Bitbucket's free tier.
The cleaner was able to purge 3 files, which was supposed to reduce the repo size by approx. 600MB~. After rewriting the history & running the gc, we pushed it back to Bitbucket but it only appeared to have reduced the repo size by 100MB~ (from 870MB~ to 770MB~).
On further inspection of the newly cloned local repo (git count-objects), it shows a pack size of 280MB~, compared to what's shown in Bitbucket.
Is there a server-side gc task that needs to be done as well in order to free up the remaining space?
Thank you.
Hello @Victor Dang ,
and welcome to the Community!
A garbage collection is usually necessary after a clean-up to remove any dangling commits/objects that might have been left behind.
I've manually triggered a GC in the repository you mentioned, and it helped to reduce its size to 288MB, which is close to the value you found locally.
This managed to get your workspace total size down to ~400MB, which is well under the 1GB limit.
I hope this helps! Let us know in case you have any questions.
Thank you, @Victor Dang !
Patrik S
Hi @Patrik S
That's great to hear, thank you so much!
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.