2020-12-10 22:09:40 -05:00
---
type: howto
stage: Fulfillment
2021-02-11 16:09:00 -05:00
group: Utilization
2022-09-21 17:13:33 -04:00
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
2020-12-10 22:09:40 -05:00
---
2021-10-08 17:09:48 -04:00
# Storage usage quota **(FREE)**
2020-12-10 22:09:40 -05:00
2021-01-29 01:09:09 -05:00
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/13294) in GitLab 12.0.
2020-12-10 22:09:40 -05:00
> - Moved to GitLab Free.
2022-07-18 14:08:47 -04:00
## Namespace storage limit
2022-02-18 04:13:54 -05:00
2022-08-16 14:12:52 -04:00
Namespaces on GitLab SaaS have a storage limit. For more information, see our [pricing page ](https://about.gitlab.com/pricing/ ).
2022-10-04 05:09:18 -04:00
This limit is not visible on the Usage quotas page, but will be prior to the limit being [applied ](#namespace-storage-limit-application-schedule ). Self-managed deployments are not affected.
2022-07-18 14:08:47 -04:00
Storage types that add to the total namespace storage are:
- Git repository
- Git LFS
- Artifacts
- Container registry
- Package registry
2022-08-16 14:12:52 -04:00
- Dependency proxy
2022-07-18 14:08:47 -04:00
- Wiki
- Snippets
2022-10-03 14:08:19 -04:00
If your total namespace storage exceeds the available namespace storage quota, all projects under the namespace are locked.
A locked project cannot push to the repository, run pipelines and jobs, or build and push packages.
2022-07-18 14:08:47 -04:00
To prevent exceeding the namespace storage quota, you can:
2022-10-03 14:08:19 -04:00
- Reduce storage consumption by following the suggestions in the [Manage Your Storage Usage ](#manage-your-storage-usage ) section of this page.
- Apply for [GitLab for Education ](https://about.gitlab.com/solutions/education/join/ ), [GitLab for Open Source ](https://about.gitlab.com/solutions/open-source/join/ ), or [GitLab for Startups ](https://about.gitlab.com/solutions/startups/ ) if you meet the eligibility requirements.
- Consider using a [self-managed instance ](../subscriptions/self_managed/index.md ) of GitLab which does not have these limits on the free tier.
- [Purchase additional storage ](../subscriptions/gitlab_com/index.md#purchase-more-storage-and-transfer ) units at $60/year for 10GB of storage.
- [Start a trial ](https://about.gitlab.com/free-trial/ ) or [upgrade to GitLab Premium or Ultimate ](https://about.gitlab.com/pricing ) which include higher limits and features that enable growing teams to ship faster without sacrificing on quality.
- [Talk to an expert ](https://page.gitlab.com/usage_limits_help.html ) to learn more about your options and ask questions.
2022-07-18 14:08:47 -04:00
2022-10-04 05:09:18 -04:00
### Namespace storage limit application schedule
2022-07-18 14:08:47 -04:00
2022-10-04 05:09:18 -04:00
Information on when namespace-level storage limits will be applied is available on these FAQ pages for the [Free ](https://about.gitlab.com/pricing/faq-efficient-free-tier/#storage-limits-on-gitlab-saas-free-tier ) and [Paid ](https://about.gitlab.com/pricing/faq-paid-storage-transfer/ ) tier.
2022-07-18 14:08:47 -04:00
2022-10-04 05:09:18 -04:00
## Project storage limit
2022-07-18 14:08:47 -04:00
2022-09-08 11:12:29 -04:00
Projects on GitLab SaaS have a 10GB storage limit on their Git repository and LFS storage.
2022-10-04 05:09:18 -04:00
After namespace-level storage limits are applied, the project limit will be removed. A namespace has either a namespace-level storage limit or a project-level storage limit, but not both.
2022-07-18 14:08:47 -04:00
2022-10-03 14:08:19 -04:00
When a project's repository and LFS reaches the quota, the project is locked.
You cannot push changes to a locked project. To monitor the size of each
repository in a namespace, including a breakdown for each project,
2022-09-08 11:12:29 -04:00
[view storage usage ](#view-storage-usage ). To allow a project's repository and LFS to exceed the free quota
2020-12-10 22:09:40 -05:00
you must purchase additional storage. For more details, see [Excess storage usage ](#excess-storage-usage ).
## View storage usage
2022-09-09 14:12:57 -04:00
Prerequisites:
2022-09-12 14:10:22 -04:00
- To view storage usage for a project, you must have at least the Maintainer role for the project or Owner role for the namespace.
- To view storage usage for a namespace, you must have the Owner role for the namespace.
2020-12-10 22:09:40 -05:00
2021-10-08 17:09:48 -04:00
1. Go to your project or namespace:
2022-09-15 14:10:36 -04:00
- For a project, on the top bar, select **Main menu > Projects** and find your project.
2021-10-08 17:09:48 -04:00
- For a namespace, enter the URL in your browser's toolbar.
1. From the left sidebar, select **Settings > Usage Quotas** .
1. Select the **Storage** tab.
2020-12-10 22:09:40 -05:00
2022-10-03 14:08:19 -04:00
Select any title to view details. The information on this page
2021-10-08 17:09:48 -04:00
is updated every 90 minutes.
2020-12-10 22:09:40 -05:00
2022-05-24 20:09:46 -04:00
If your namespace shows `'Not applicable.'` , push a commit to any project in the
2021-10-08 17:09:48 -04:00
namespace to recalculate the storage.
2020-12-10 22:09:40 -05:00
2021-01-29 01:09:09 -05:00
## Storage usage statistics
2020-12-10 22:09:40 -05:00
2021-10-08 17:09:48 -04:00
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68898) project-level graph in GitLab 14.4 [with a flag](../administration/feature_flags.md) named `project_storage_ui`. Disabled by default.
> - Enabled on GitLab.com in GitLab 14.4.
2021-10-19 05:09:54 -04:00
> - Enabled on self-managed in GitLab 14.5.
> - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/71270) in GitLab 14.5.
2020-12-10 22:09:40 -05:00
2022-02-22 13:17:57 -05:00
The following storage usage statistics are available to a maintainer:
2020-12-10 22:09:40 -05:00
- Total namespace storage used: Total amount of storage used across projects in this namespace.
- Total excess storage used: Total amount of storage used that exceeds their allocated storage.
- Purchased storage available: Total storage that has been purchased but is not yet used.
2022-04-29 11:08:33 -04:00
## Manage your storage usage
2022-09-09 14:12:57 -04:00
To manage your storage, if you are a namespace Owner you can [purchase more storage for the namespace ](../subscriptions/gitlab_com/index.md#purchase-more-storage-and-transfer ).
2022-04-29 11:08:33 -04:00
2022-09-09 14:12:57 -04:00
Depending on your role, you can also use the following methods to manage or reduce your storage:
2022-04-29 11:08:33 -04:00
2022-09-09 14:12:57 -04:00
- [Reduce package registry storage ](packages/package_registry/reduce_package_registry_storage.md ).
- [Reduce dependency proxy storage ](packages/dependency_proxy/reduce_dependency_proxy_storage.md ).
- [Reduce repository size ](project/repository/reducing_the_repo_size_using_git.md ).
- [Reduce container registry storage ](packages/container_registry/reduce_container_registry_storage.md ).
- [Reduce wiki repository size ](../administration/wikis/index.md#reduce-wiki-repository-size ).
2022-04-29 11:08:33 -04:00
2020-12-10 22:09:40 -05:00
## Excess storage usage
2022-10-04 05:09:18 -04:00
Excess storage usage is the amount that a project's repository and LFS exceeds the [project storage limit ](#project-storage-limit ). If no
2020-12-10 22:09:40 -05:00
purchased storage is available the project is locked. You cannot push changes to a locked project.
2022-01-25 22:16:17 -05:00
To unlock a project you must [purchase more storage ](../subscriptions/gitlab_com/index.md#purchase-more-storage-and-transfer )
2020-12-10 22:09:40 -05:00
for the namespace. When the purchase is completed, locked projects are automatically unlocked. The
amount of purchased storage available must always be greater than zero.
The **Storage** tab of the **Usage Quotas** page warns you of the following:
- Purchased storage available is running low.
- Projects that are at risk of being locked if purchased storage available is zero.
- Projects that are locked because purchased storage available is zero. Locked projects are
marked with an information icon (**{information-o}**) beside their name.
### Excess storage example
2022-08-30 11:10:02 -04:00
The following example describes an excess storage scenario for a namespace:
2020-12-10 22:09:40 -05:00
| Repository | Storage used | Excess storage | Quota | Status |
|------------|--------------|----------------|--------|-------------------|
| Red | 10 GB | 0 GB | 10 GB | Locked ** {lock}** |
| Blue | 8 GB | 0 GB | 10 GB | Not locked |
| Green | 10 GB | 0 GB | 10 GB | Locked ** {lock}** |
| Yellow | 2 GB | 0 GB | 10 GB | Not locked |
| **Totals** | **30 GB** | **0 GB** | - | - |
2022-09-08 11:12:29 -04:00
The Red and Green projects are locked because their repositories and LFS have reached the quota. In this
2020-12-10 22:09:40 -05:00
example, no additional storage has yet been purchased.
To unlock the Red and Green projects, 50 GB additional storage is purchased.
2022-09-08 11:12:29 -04:00
Assuming the Green and Red projects' repositories and LFS grow past the 10 GB quota, the purchased storage
2020-12-10 22:09:40 -05:00
available decreases. All projects remain unlocked because 40 GB purchased storage is available:
50 GB (purchased storage) - 10 GB (total excess storage used).
| Repository | Storage used | Excess storage | Quota | Status |
|------------|--------------|----------------|---------|-------------------|
| Red | 15 GB | 5 GB | 10 GB | Not locked |
| Blue | 14 GB | 4 GB | 10 GB | Not locked |
| Green | 11 GB | 1 GB | 10 GB | Not locked |
| Yellow | 5 GB | 0 GB | 10 GB | Not locked |
| **Totals** | **45 GB** | **10 GB** | - | - |
2022-10-05 17:09:08 -04:00
## Manage your transfer usage
Depending on your role, you can use the following methods to manage or reduce your transfer:
- [Reduce Container Registry data transfers ](packages/container_registry/reduce_container_registry_data_transfer.md ).