I gave you the method to modify the page file.
It is like a virtual RAM, but it's stored in your hard disk.
Introduction to the page file - Windows Client Management | Microsoft Docs
For changing the VRAM, there is usually an option in the BIOS.
But if you don't have it, it means your PC's VRAM can't be changed.
Regards,