-
I saw the new blog post about code scanning and tried to turn it on for a large framework in .NET that I help maintain. I had to switch the action to run on Windows so that the compile would work (there were missing files on the Linux build, which didn’t make sense). On the Windows run, the C# runner ran out of memory:
The full run is available at https://github.com/bdukes/Dnn.Platform/runs/1193734099 |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
I have created an issue ticket (github/codeql-action#245) to help you report the problem to the appropriate engineering team for further investigation and evaluation. You can follow this issue ticket and add your comments to it. |
Beta Was this translation helpful? Give feedback.
-
I am having this issue as well. https://github.com/bvcms/bvcms/runs/1199631078?check_suite_focus=true |
Beta Was this translation helpful? Give feedback.
-
Perhaps changing the size of PageFile will help: Set default size to 8GB:
Set default size to 32GB:
|
Beta Was this translation helpful? Give feedback.
-
I forgot that the CodeQL action was also running on a scheduled basis. So of the first five runs, there were two that succeeded, so this project, at least, must be close to that memory limit. I used the 32GB example, and got an error earlier in the process that the disk was out of space. I then changed it to 8-32GB and put the page file on
|
Beta Was this translation helpful? Give feedback.
-
These responses seem to be solely for Windows; are the proposed solutions supposed to work for other OSes, too? |
Beta Was this translation helpful? Give feedback.
Perhaps changing the size of PageFile will help:
Set default size to 8GB:
Set default size to 32GB: