Hi Erez,
Welcome to the Forum.
Windows 10 uses three methods to manage Memory:
- Hyberfil.sys
This stores all the contents of your RAM when your computer is hibernating. This is what allows you to wake computer and return to where you were. It is also how Windows 10 can do a Fast Boot as it pulls information stored from this system file.
- Pagefile.sys
Just as in previous Windows OS versions, Windows pages out extra memory (Virtual memory) when your system has used all available RAM but needs more memory to function. You can see how windows is managing that via Task Manager > Performance tab
Sample Image
- Swapfile.sys
This is a new Virtual Memory management and was created to manage the Universal apps built into your operating system. It's generally not too large a file and would normally be less than 300 MB in size. So when the system needs more resources for apps to do their thing it will turn to this swapfile.sys
All three .sys files are located in your root directory - typically C: where most users install windows. To see these files you'd need to open C: via File Explorer, and then via Folder Options adjust two settings as in image below:
I'd recommend leaving this swapfile.sys alone, but if you need disable it then simply disable Pagefile.sys, because in so doing the Swapfile.sys will also be disabled as Pagefile is a dependency for the Swapfile.
You can if you wish adjust amount of memory allocated to the Swapfile.sys, but as Tim above suggested its generally better to let Windows manage it. However, if you need to then:
- Press Windows key and S key to give focus to the Search box
- In the Search box type Adjust the appearance and performance of Windows then press Enter key
- In the window that opens select the Advanced tab then click the Change button
- In the window that opens if top box is checked this means Windows is managing it as Tim suggested. If you wish to manage it remove check then adjust in lower half of window and when done click the Set button then click OK
Sample Images showing what I meant above
You can also get to that opening Performance Options window by:
- Opening File Explorer
- Right-clicking on This PC in left pane and selecting Properties
- In window that opens, in the left pane click Advanced System Settings
- Then in the System Properties window that opens under the Performance pane click Settings button as in image below
Regards,
Regedit32