Hi, pham. I'm Robinson, and I’m happy to help you today.
You can change the size of the virtual memory in the advanced system settings.
1-Click on Start, search for the "Advanced system settings" and click on that
2-The System Properties windows will open
3-Click on the Advanced tab then click on "Settings..." under Performace
4-The Performace Options window will open
5-Click on the Advanced tab then click on "Change..."
6-Uncheck the option "Automatically manage paging file size for all drives"
7-Then select "Custom size" and set the initial and maximum amount of ram
Note: Changing the virtual memory size could make you face a problem when you try to run apps that require a large amount of ram.
Before you change the size of the virtual memory, you can try to delete old Windows Updates files.
1-Click on Start, search for "Disk Cleanup" and click on that
2-Select all options that you want to delete under "Files to delete" and click on ok
3-Open the Disk Cleanup again and click on the "Clean up system files" button
4-Select all options that you want to delete under "Files to delete" and click on ok
Or you can use the Store Sense
1-Click on Start then click on Settings
2-Click on Settings then click on Storage
3-Click on "Cleanup recommendations"
4-Select the "Temporary Windows installation files" then click on Clean up