--- title: 'Error: "Out of disk" or Error: "Out of memory"' shortTitle: 'Out of disk or memory' intro: 'If you see one of these errors with {% data variables.product.prodname_actions %}, {% ifversion ghes %}try reviewing the specifications of your self-hosted runners.{% else %}you can try alternative runners.{% endif %}' allowTitleToDifferFromFilename: true versions: fpt: '*' ghes: '*' ghec: '*' --- {% data reusables.code-scanning.beta %} ## About these errors ```text Out of disk ``` ```text Out of memory ``` You may see these errors on when running {% data variables.product.prodname_code_scanning %}. ## Confirming the cause of the problem You can review the recommended hardware resources for running {% data variables.product.prodname_codeql %} to make sure the runners that you use for {% data variables.product.prodname_code_scanning %} meet those requirements. For more information, see "[AUTOTITLE](/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/recommended-hardware-resources-for-running-codeql)." ## Fixing the problem {% ifversion ghes %} You may need to increase the memory or disk space available on the runners used for {% data variables.product.prodname_code_scanning %} analysis. {% else %} If the runners that you're using don't meet the recommended hardware requirements, consider using either larger runners or self-hosted runners. Larger runners are {% data variables.product.company_short %}-hosted runners with more RAM, CPU, and disk space than standard runners. These runners have the runner application and other tools preinstalled. For more information about larger runners and the specifications you can use with them, see "[AUTOTITLE](/actions/using-github-hosted-runners/about-larger-runners)." Self-hosted runners offer more control of hardware, operating system, and software tools than {% data variables.product.company_short %}-hosted runners can provide. For more information, see "[AUTOTITLE](/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners)." {% endif %}