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.

この記事の内容

About these errors

Out of disk
Out of memory

You may see these errors when running code scanning.

Confirming the cause of the problem

You can review the recommended hardware resources for running CodeQL to make sure the runners that you use for code scanning meet those requirements. For more information, see CodeQL を実行するための推奨ハードウェア リソース.

Fixing the problem

If the runners you're using don't meet the recommended hardware requirements, consider using either より大きなランナー (larger runner) or self-hosted runners.

より大きなランナーs 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 runner) and code scanning, see より大きなランナーの使用 and 大きなランナーをデフォルトのセットアップ用に設定する.

Self-hosted runners offer more control of hardware, operating system, and software tools than GitHub-hosted runners can provide. For more information, see セルフホステッド ランナー.