So, for a PC running on 4 GB of RAM, the maximum size of the swap file will be 1024 x 4 x 1.5 Mb. Unless you want to use Windows' hibernation feature, you can safely disable the paging file for PCs equipped with 8 GB of RAM (and more). It is imperative that you turn off the paging file on an SSD.
The constant writing/deleting of files will definitely have a negative impact on your SSD's life span. If you are using a single drive with multiple partitions, enabling a different paging file on each of them won't necessarily speed up the swapping of files.
Windows creates a file in "C" drive's root directory, and it is used to swap data between the hard drive and the faster random access memory, or RAM.
By default, this file can be up to three times the amount of RAM you currently have installed.
Also doesn't run the Windows system faster on a SSD?
So you save yourself maybe 20 seconds of booting and Windows loading time and then forcing the system to bottleneck it's performance by moving the very file that will affect performance the most to the slowest drive on the system.
Whenever RAM is not enough, Windows makes use of the Swap files to temporarily store files and, then, swap them back to the RAM when required.
Virtual memory can be considered as being an extension of the computer's physical memory.
It will simply increase the time that Windows requires to search for the swap files (stored in multiple locations).
This document, titled "Adjust Default Virtual Memory Size on Windows 10," is available under the Creative Commons license.