Open greenozon opened 1 month ago
update: setting env var
set DOTNET_GCHeapHardLimit=1C0000000
helped out, but the question is: why should I set this by hands?
no, it still crashes: now on publish command:
c:\Dev\r2r>dotnet publish -c Release -r win-x64
Determining projects to restore...
Restored c:\Dev\r2r\r2r.csproj (in 126 ms).
GC heap initialization failed with error 0x8007000E
Failed to create CoreCLR, HRESULT: 0x8007000E
Out of memory.
Out of memory.
Out of memory.
Out of memory.
Out of memory.
Out of memory.
Unhandled exception.
Cannot print exception string because Exception.ToString() failed.
C:\Program Files\dotnet\sdk\8.0.303\Roslyn\Microsoft.CSharp.Core.targets(85,5): error : GC heap initialization failed with error 0x8007000E [c:\Dev\r2r\r2r.csproj]
C:\Program Files\dotnet\sdk\8.0.303\Roslyn\Microsoft.CSharp.Core.targets(85,5): error : Failed to create CoreCLR, HRESULT: 0x8007000E [c:\Dev\r2r\r2r.csproj]
details from crashdump:
Describe the bug
unexpected .NET8 SDK crash
To Reproduce
build a very simple hello world cs app
Exceptions (if any)
Further technical details