dotnet build failes on shared runners
I tried to build out project on a Windows Shared Runner on gitlab.com. The build statement always fails with
C:\Program Files\dotnet\sdk\3.1.101\Roslyn\Microsoft.CSharp.Core.targets(59,5): error MSB6006: "csc.dll" exited with code -1073741523.
The statement used are:
- dotnet restore
- dotnet build --framework net472 --configuration Release --runtime win7-x64
I looked around what the error means and came to the conclusion that it runs out of ram. Our project has some lines of code, but nothing extraordinary that could cause this. Previously we ran the build on group runner on a 4GB ram Windows Server, where we never had this issue.
I actually don't know if and how you could help me, I just thought you might be interested in some feedback.