Right click the start menu, click “settings”
In the search bar, type “performance”
Click “adjust appearance and performance of window”
a new window opens and click “advanced”
Then under “Virtual Memory” click change, now you can set the size (in MB) 1GB= 1000MB
I would suggest 15GB (15000MB) if your disk has enough room. You can also change the disk that your page file is on, however it works best if it’s on the same drive as your OS