Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Reduce Repo Siz

aidyntemekov April 13, 2023

Hello everyone!
How to reduce repo size?
Last time I asked Atlassian team to ran garbage collection, but now I don't have this option.
What do I need to do?

2 answers

2 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 17, 2023

Hi @aidyntemekov,

I can run a garbage collection for your repo. Can you please provide the repo name masked (e.g. the first two and last two letters of the repo, or any combination of letters from its name that will help me identify it among the ones you have access to)?

Please keep in mind that the garbage collection by itself may not be enough if you version large and/or binary files in the repo. However, I can run the git gc first, and if needed, I can provide you with further steps on how to reduce the repo's size.

Kind regards,
Theodora

aidyntemekov April 25, 2023

Hello!
Yes, the repo name is sho***et.
Thank you!

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 25, 2023

Hi @aidyntemekov!

Thank you for the info. I ran a git gc on this repository; its size has been reduced, but not by a lot.

I would suggest reducing the repo's size further, if possible. You can check this reply of mine to a different question, where I share more details.

If you decide to proceed with the steps mentioned in that post and rewrite history in the repo with BFG, please keep in mind that the repo's size will get increased again once you push your changes. The repo will then need another git gc for the old commits (prior to history rewrite) to get removed and to get its size reduced. You can let me know here, and I can run another git gc for the repo.

If you have any questions about the information I shared in the post I linked, please feel free to let me know as well.

Kind regards,
Theodora

aidyntemekov April 25, 2023

I think 1.34 gb is enough, I didn't quite understand from your answer how to use the BFG method

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 26, 2023

Hi @aidyntemekov,

If the size is good enough for you, that's ok.

I share quite a lot of info in the post I linked in my previous reply. In case you decide to reduce your repo's size further, please let me know which part or which parts of my reply are unclear, and I can explain further.

Kind regards,
Theodora

aidyntemekov November 19, 2023

Hello! I need help again!
Please run garbage collection in my repo sho***et.

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 20, 2023

Hi @aidyntemekov!

I ran a git gc for the repo and its size has been reduced.

Please feel free to let me know if you need anything further.

Kind regards,
Theodora

aidyntemekov November 20, 2023

Thank you!

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 20, 2023

You are very welcome!

aidyntemekov December 1, 2024

Hello!
I need to reduce size again :) A year has passed since the last garbage collection.

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 2, 2024

Hi @aidyntemekov!

I ran a git gc on your repo and its size has been reduced to 1.5 GB.

If you ever need assistance in the future, please create a new question in community via https://community.atlassian.com/t5/forums/postpage/board-id/bitbucket-questions, as replies to older, resolved questions cannot be seen by my colleagues, in case I'm out of office.

Kind regards,
Theodora

aidyntemekov December 9, 2024

Hello! I'm still receiving this message when I push to the repo

WARNING Repository size in Bitbucket is currently 3.2 GB

0 votes
Answer accepted
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 14, 2023

It is still the same ping-Atlassian "process".

I see people asking for the same on this community site, then someone from Atlassian replies to them and runs the garbage collection in their repo.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events