Closed mrtajniak closed 9 months ago
Please include the actual error. Like this, all I can do is guess that you ran out of RAM.
Wdm? This is an actual error
No, the actual error is somewhere before that. All this is saying is "some error happened". Also check dmesg for potential OOM messages.
Before that?
With the parallel build, it can be quite some ways before that, yes. If that's really all there is, that would strongly hint at the system running out of RAM and killing g++. dmesg will tell you if that's the case.
WSL2 has 4GB of RAM allocated, I can spin up VM with 8GB of RAM on my ESXi Server
What's the minimum amount of RAM required?
The WSL VM by default gets 50% of the systems RAM. You can increase that via %USERPROFILE%/.wslconfig. The maximum amount of RAM depends on the number of cores, due to parallel builds. I'd say around 4GB per core is a safe minimum.
My PC has 16GB of ram and 8 core CPU
My server has 72GB of RAM and 2 x 6 core CPUs
I have removed additional setting from the config file and now I have something like that