I'm running WSL2 on a laptop with 16BG RAM. Working on a project in Node which in local development when run takes as much as 7GB of memory which is almost all of the allowed 50% and this causes webpack to kill of the app multiple times. Memory usage in Task Manager goes constantly over 90%.
Would manually increasing page size and allocating extra memory to WSL2 be a feasible solution? I'm not sure if my company's IT would be able to physically upgrade internals to 32GB just yet..
memory
andswap
settings for .wslconfig` for more details if that would help.