GitLab: the parsed YAML is too big
GitLab shows The parsed YAML is too big when the CI/CD configuration is too large or nested too deeply once it is expanded. Files with many includes and thousands of lines are the likely ones; GitLab says a file of about 200 KB is likely to reach the default memory limit (GitLab docs: debugging CI/CD pipelines, checked November 19, 2026).
Shrink the configuration
- Look at the expanded size. In the pipeline editor, the Full configuration tab shows the configuration after every
include, anchor and reference is resolved. That is the size that counts. Look for duplicated parts you can remove or simplify. - Move long or repeated
scriptsections into standalone scripts in the repository. - Split the work into parent and child pipelines, so some jobs live in an independent child pipeline with its own configuration.
- Self-Managed: an administrator can raise the limits for the size and depth of CI/CD configuration YAML files in the CI/CD limits.
To see the error next to the pipeline that failed: Pipelines and Jobs Inbox for GitLab CI, a plugin for JetBrains IDEs, shows under a pipeline that failed before any job ran the messages GitLab gives, such as a configuration error.
A related error: 500 in the web editor
A loop of included configuration files, where files include each other, can make editing .gitlab-ci.yml in the web editor fail with a 500 error. Check that the included files do not refer back to each other.
Other pipeline errors from the same GitLab page
Project <group/project> not found or access denied: anincludethat GitLab cannot reach.config should be an array of hashes: several!referencetags in one array.Pipeline creation timed out while evaluating rulesandIdentity verification is required in order to run CI jobs: see a pipeline that failed with no jobs.
GitLab pipelines in IntelliJ IDEA
Pipelines and Jobs Inbox for GitLab CI, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists the pipelines of your GitLab projects with their jobs by stage. Under a pipeline that failed before any job ran it shows the messages GitLab gives (errorMessages), such as the configuration error, and it shows YAML errors as GitLab reports them, so you read the error without opening GitLab. After you fix the file, you can run a new pipeline on the branch from the IDE (Pro). Reading is free; retrying, cancelling and running are Pro (US$1.50 a month, with a 30-day trial).
Get it on JetBrains Marketplace
GITLAB is a trademark of GitLab Inc.; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by GitLab Inc. or JetBrains.
More: GitLab pipeline failed with no jobs · GitLab "Project not found or access denied" (include) · GitLab "config contains unknown keys" · GitLab pipeline or job refused (400, 403, 409, 429)