The Wayback Machine - https://web.archive.org/web/20230924103404/https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/out-of-disk-or-memory
Skip to main content

Error: "Out of disk" or Error: "Out of memory"

If you see one of these errors with GitHub Actions, you can try alternative runners.

Use self-hosted runners

Self-hosted runners offer more control of hardware, operating system, and software tools than GitHub-hosted runners can provide. For more information, see "About self-hosted runners." You can review the recommended hardware resources for running CodeQL to make sure your self-hosted runners meet those requirements. For more information, see "Recommended hardware resources for running CodeQL."

Use larger runners

You can use larger runners, which are GitHub-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 "About larger runners."