This is solvable.
My solution involves setting the swap file to a size of 16GB (16384MB) paging file for both minimum and maximum (same value for both entries) under the swap file management in the custom settings. If you have a video card with 24GB of memory then set this to 24GB (24576MB).
Setting both minimum and maximum to the same value eliminates the system trying to “auto adjust” based on usage and helps the performance.
If you want to monitor the virtual memory, open task manager, go to the performance section, click on memory and keep tabs on the “Committed” section. That represents your available virtual memory.
If you only have 8-16GB of physical computer RAM (not GPU), and you have 8-16GB of GPU memory, then use 24GB (24576MB) for the setting.
Having a larger setting is not going to hurt anything, but it does take more space on the drive (always use the C:\ or your fastest SSD for your swap file - Do not set it up on multiple drives!)
However 16GB is plenty for most setups. That’s what I’m running for mine in fact and I have 32GB/16GB with memory/gpu.