Skip to main content

“磁盘不足”和“内存不足”错误

如果系统针对 GitHub Actions 显示其中某一错误,请尝试检查自托管运行器的规格。

About these errors

You may see these errors when running code scanning if the runners you're using do not have sufficient free memory or disk space.

  • Out of disk
  • Out of memory

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 Recommended hardware resources for running CodeQL.

Fixing the problem

You may need to increase the memory or disk space available on the runners used for code scanning analysis.