I ran commands in Ubuntu and now reached to the point where final pnpm run develop how much time it takes to run?
You just have to be patient. I donât recall how long it takes. Just run echo $?
immediately after it is done and make sure the value is zero
Hello there,
What memory do you have allocated for WSL? You can usually tell this using htop
.
See this for more details:
It was configured as below:
Settings apply across all Linux distros running on WSL 2
[wsl2]
How much memory to assign to the WSL 2 VM. The default value might not be enough
memory=4GB
How much swap space to add to the WSL 2 VM, default is 25% of available RAM
swap=8GB
I changed memory to 12GB now and trying
New configuration is :
memory: 12GB
swap: 8GB
I Have 16GB RAM. Can someone suggest how should I make changes?
you have to split the 16 over the swap and the memory.
It was suggested to you earlier to use 12 for the wsl2 memory and 4 for the swap.
I changed accordingly. Do I need to restart laptop or I can restart WSL2 and try?
You can work with gitpod instead of the local setup if youâre unable to complete the steps.
Yes, you need to restart.
You can allocate however much you want, but if you allocate all 16GB, you PC will freeze, because there will be nothing left over for Windows.
You will need to see how much you can get away with allocating. Open your task manager (when WSL is not open), and see how much your existing Windows programs take.
The swap is not that important. It is just used when you run out of RAM to treat disk as âmemoryâ.