Put it on the opposite physical drive from the OS. I just let Windows manage the size of the swapfile. It seems to do a fine job by itself.
The pagefile, also known as the swap file or paging file, is a crucial component of Windows 10's virtual memory system. It allows the operating system to free up physical RAM by transferring less ...