Only works if at some stage you changed the size or disabled the swap file.
- Click on System. On the left side of the window, open additional options.
- Go to the performance settings, then to the tab with additional options.
- In the “Virtual memory” section, click on the “Change” button.
- Enable the automatic configuration of the page file by checking the corresponding box.