> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/code-repository/troubleshooting-and-resources/cr-subscription-mgmt.md).

# Subscriptions & Licenses

Review Code Repository subscription usage limits.

Harness Code Repository is available to all customers of the Harness Continuous Integration (CI) module, and your Harness CI subscription determines its usage limits. The number of users who can access Code Repository is independent of your CI subscription, but storage and bandwidth limits follow your subscription tier.

Go to [Harness CI subscriptions and licenses](/continuous-integration/3.0/troubleshooting-and-resources/ci-subscription-mgmt.md) to review your current subscription.

***

## Usage limits <a href="#usage-limits" id="usage-limits"></a>

The following limits apply to storage and network transfer used by Harness Code Repository on Harness Cloud. Customers on paid plans can request an increase to either limit. To request an increase, contact [Harness Sales](https://www.harness.io/company/contact-sales) or your account manager.

### Storage <a href="#storage" id="storage"></a>

Harness stores Git repository data and Git Large File Storage (LFS) data in Harness-managed storage. The aggregate size of all repositories on disk must not exceed the account storage limit. When a free account exceeds the limit, Harness blocks Git push operations until you reduce usage. Paid accounts are billed for usage above their included limit. Go to [Storage quotas](#storage-quotas) for details.

The account storage limit depends on your plan:

| Plan | Account storage limit | Per-repository limit |
| ---- | --------------------- | -------------------- |
| Free | 50 GiB                | 20 GiB               |
| Paid | 500 GiB               | 20 GiB               |

{% hint style="info" %}
Every file stored in Git is limited to 100 MB by default, regardless of plan. You can change this limit per repository through the [repository general settings API](https://apidocs.harness.io/repository/updategeneralsettings).
{% endhint %}

### Storage quotas <a href="#storage-quotas" id="storage-quotas"></a>

Harness Code checks account storage, which is Git data plus Git LFS data, against limits that depend on the license edition of your account. Each repository also has a per-repository size limit. Exceeding the limit shows a warning, and eventually blocks new file additions.

The limits in the table in [Storage](#storage) are the defaults. The license determines which edition, and therefore which limit and enforcement, applies. Self-Managed deployments can configure different values. Harness caches the edition for a short time and refreshes it when the account changes.

### Quota alerts <a href="#quota-alerts" id="quota-alerts"></a>

By default, Harness warns when account storage reaches 80% of the account limit and warns more urgently at 95%. The warnings appear on push, in the usage metric API, and in email when quota alert emails are enabled.

### Bandwidth <a href="#bandwidth" id="bandwidth"></a>

The network transfer limit applies to data transferred from Harness Cloud to customer-managed storage. Aggregate inbound and outbound network traffic must not exceed the bandwidth limit for a given calendar month. When an account exceeds the limit, Harness blocks network requests and returns a `429 Too Many Requests` HTTP error.

The monthly bandwidth limit depends on your plan:

| Plan | Monthly bandwidth limit |
| ---- | ----------------------- |
| Free | 50 GB                   |
| Paid | 250 GB                  |

{% hint style="warning" %}
If Harness determines that your bandwidth usage is significantly excessive relative to other users of similar features, Harness reserves the right to suspend your account, throttle your file hosting, or otherwise limit your activity until you reduce your bandwidth consumption. On the free tier, Harness further reserves the right, after providing advance notice, to delete repositories that place undue strain on the infrastructure.
{% endhint %}

***

## Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

<details>

<summary>Git push to a Harness Code repository is blocked because the account storage limit is exceeded</summary>

Reduce repository size by removing large objects or moving them to Git LFS, or contact Harness Sales to request a storage increase on a paid plan.

</details>

<details>

<summary>Harness Code repository operations return HTTP 429 Too Many Requests</summary>

The account has exceeded its monthly bandwidth limit. Requests are blocked until the next calendar month, or until you request a bandwidth increase on a paid plan.

</details>

<details>

<summary>A file larger than 100 MB is rejected when pushing to a Harness Code repository</summary>

The default per-file limit is 100 MB. Raise it for a specific repository through the repository general settings API, or store the file with Git LFS.

</details>

***

## Next steps <a href="#next-steps" id="next-steps"></a>

You know the storage, file size, and bandwidth limits that apply to your plan and what happens when you reach them. Plan repository layout and large file handling accordingly.

* [Git LFS](/code-repository/use-harness-code/collaborate-and-develop/git-lfs.md): Store large files outside the main Git object store.
* [Harness CI subscriptions and licenses](/continuous-integration/3.0/troubleshooting-and-resources/ci-subscription-mgmt.md): Review the CI subscription that governs these limits.
* [Clone](/code-repository/use-harness-code/collaborate-and-develop/clone-repos.md): Use partial and shallow clone to reduce bandwidth consumption.

{% @harness-feedback/feedback %}
