Run or Schedule Repository Size Limit Email

This scheduled job helps you to identify all of the repositories that exceed a particular size by receiving an email listing all of the repositories that exceed a particular size.

You can find more details here about how a large repository negatively impacts the performance of Git on Bitbucket Server.

This is particularly useful as repositories grow larger and you want to identify the ones that require maintenance before they have a negative impact on your instance as detailed above.

Once you’ve identified the repositories you can use some of the approaches here to reduce the size of the repository.

Some of the identified repositories could be good candidates for having their files moved to Git LFS.

The size of the repository checked does NOT include files under Git LFS.