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 Recursos de hardware recomendados para ejecutar CodeQL.

Fixing the problem

If the runners you're using don't meet the recommended hardware requirements, consider using either ejecutores más grandes or self-hosted runners.

Ejecutor más grandes 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 ejecutores más grandes and code scanning, see Uso de ejecutores más grandes and Configuración de ejecutores más grandes para la configuración predeterminada.

Self-hosted runners offer more control of hardware, operating system, and software tools than GitHub-hosted runners can provide. For more information, see Ejecutores autohospedados.