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.

Dans cet article

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 Ressources matérielles recommandées pour l’exécution de CodeQL.

Fixing the problem

If the runners you're using don't meet the recommended hardware requirements, consider using either exécuteurs plus grands or self-hosted runners.

Exécuteur de plus grande tailles 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 exécuteurs plus grands and code scanning, see Utilisation des exécuteurs plus grands and Configuring larger runners for default setup.

Self-hosted runners offer more control of hardware, operating system, and software tools than GitHub-hosted runners can provide. For more information, see Exécuteurs auto-hébergés.