This article explains how to increase virtual memory in Windows 10 by modifying the paging file.
Windows 10 How to Adjust Virtual Memory
Are you seeing warning messages like: 'Your system is low on virtual memory'?
This is because your Windows 10 PC does not have enough RAM and is trying to write to virtual memory, while the paging file that acts as virtual memory has too low a file size limit.
If you don't want to see these error messages, you need to increase the virtual memory in Windows 10.