Hello @srzm,
I was facing the same issue with WSL when I used too much parallel threads/tasks with too few RAM. Try to increase your RAM or decrease your count of cores in your WSL-config (%USERPROFILE%/.wslconfig
)
This one is mine:
# Settings apply across all Linux distros running on WSL 2
[wsl2]
# Limits VM memory to use no more than 24 GB, this can be set as whole numbers using GB or MB
memory=24GB
# Sets the VM to use 12 virtual processors
processors=12
# Sets amount of swap storage space, default is 25% of available RAM
swap=8GB
Best regards,
Markus