Open System in Control Panel.
On the Advanced tab, under Performance, click Settings.
On the Advanced tab, under Virtual memory, click Change.
Under Drive [Volume Label], click the drive that contains the paging file you want to change.
Under Paging file size for selected drive, click Custom...