2020-08-18 19:51:02 +05:30
|
|
|
---
|
|
|
|
type: reference, howto
|
|
|
|
---
|
|
|
|
|
|
|
|
# Project Import Decompressed Archive Size Limits
|
|
|
|
|
|
|
|
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/31564) in GitLab 13.2.
|
|
|
|
|
|
|
|
When using [Project Import](../user/project/settings/import_export.md), the size of the decompressed project archive is limited to 10Gb.
|
|
|
|
|
|
|
|
If decompressed size exceeds this limit, `Decompressed archive size validation failed` error is returned.
|
|
|
|
|
|
|
|
## Enable/disable size validation
|
|
|
|
|
|
|
|
Decompressed size validation is enabled by default.
|
|
|
|
If you have a project with decompressed size exceeding this limit,
|
|
|
|
it is possible to disable the validation by turning off the
|
|
|
|
`validate_import_decompressed_archive_size` feature flag.
|
|
|
|
|
2021-01-03 14:25:43 +05:30
|
|
|
Start a [Rails console](../administration/operations/rails_console.md#starting-a-rails-console-session).
|
2020-08-18 19:51:02 +05:30
|
|
|
|
|
|
|
```ruby
|
|
|
|
# Disable
|
|
|
|
Feature.disable(:validate_import_decompressed_archive_size)
|
|
|
|
|
|
|
|
# Enable
|
|
|
|
Feature.enable(:validate_import_decompressed_archive_size)
|
|
|
|
```
|