Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ab1f1af1
Commit
ab1f1af1
authored
Jul 07, 2017
by
Marcia Ramos
Committed by
Job van der Voort
Jul 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Overview and use cases for repo limit
parent
bc97513a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
doc/user/admin_area/settings/account_and_limit_settings.md
doc/user/admin_area/settings/account_and_limit_settings.md
+17
-1
No files found.
doc/user/admin_area/settings/account_and_limit_settings.md
View file @
ab1f1af1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
## Repository size limit
## Repository size limit
> [Introduced][ee-740] in
GitLab Enterprise Edition 8.12
.
> [Introduced][ee-740] in
[GitLab Enterprise Edition 8.12][ee-8.12]
.
Repositories within your GitLab instance can grow quickly, especially if you are
Repositories within your GitLab instance can grow quickly, especially if you are
using LFS. Their size can grow exponentially and eat up your storage device quite
using LFS. Their size can grow exponentially and eat up your storage device quite
...
@@ -12,6 +12,18 @@ In order to avoid this from happening, you can set a hard limit for your
...
@@ -12,6 +12,18 @@ In order to avoid this from happening, you can set a hard limit for your
repositories' size. This limit can be set globally, per group, or per project,
repositories' size. This limit can be set globally, per group, or per project,
with per project limits taking the highest priority.
with per project limits taking the highest priority.
There are numerous cases where you'll need to set up a limit for repository size.
For instance, consider the following workflow:
1.
Your team develops apps which demand large files to be stored in
the application repository
1.
Although you have enabled
[
Git LFS
](
../../../workflow/lfs/manage_large_binaries_with_git_lfs.html#git-lfs
)
to your project, your storage has grown significantly
1.
Before you blow your storage limit up, you set up a limit of 10 GB
per repository
### How it works
Only a GitLab administrator can set those limits. Setting the limit to
`0`
means
Only a GitLab administrator can set those limits. Setting the limit to
`0`
means
there are no restrictions.
there are no restrictions.
...
@@ -28,5 +40,9 @@ allowed repository size.
...
@@ -28,5 +40,9 @@ allowed repository size.
For more manually purging the files, read the docs on
For more manually purging the files, read the docs on
[
reducing the repository size using Git
][
repo-size
]
.
[
reducing the repository size using Git
][
repo-size
]
.
> **Note:**
> For GitLab.com, the repository size limit is 10 GB.
[
ee-740
]:
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/740
[
ee-740
]:
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/740
[
repo-size
]:
../../project/repository/reducing_the_repo_size_using_git.md
[
repo-size
]:
../../project/repository/reducing_the_repo_size_using_git.md
[
ee-8.12
]:
https://about.gitlab.com/2016/09/22/gitlab-8-12-released/#limit-project-size-ee
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment