Those of you running out of memory when playing this game need to adjust for a higher amount of swap file.
The automatic systems in place do not compensate fast enough.
To change this setting:
Windows 10/11
- Right-click the Windows Start icon (window/flag button)
- Choose “System”
- Find the link labeled “Advanced system settings” and click it
- A window should pop up. On here find “Performance” and click the “Settings” button
- At the top of the next page, click on “Advanced”
- Under here you will see the Paging options.
- Click “Change”
- Uncheck “Automatically manage paging file size for all drives”
- Find the dot labeled “Custom size” and click it.
Now, for the next portion, set both boxes to the same value
- If you have 16GB or less, set the value for both to 24576 (24GB)
- If you have more than 16GB, set the value for both to 16384 (16GB)
The reason you can use less in the second option is because you have more memory. I run a system with 32GB, a 4080 Super, and use a 16GB Swap file. No crashes. Before I changed that setting, I was using a 3070Ti, and had no swap file set at all. It was disabled. But as soon as I upgraded the card, I had out of memory problems.
Always use only ONE drive for the swap file. Do not put your swap file or setup a swap file on multiple drives! Preferably, just stick with using the same drive as the OS is running on. (C:)
You can monitor your memory usage:
Open the task manager and use the view of your memory usage while playing the game. You can literally see it eat up your virtual memory under “Committed”.
The reason we want to set the minimum and maximum (by using the same value for both) is to reduce the system dynamically having to adjust the file size on the fly all the time. It helps the performance.
Now, your individual results can vary and you may need to set a higher value if you are using a 24GB video card such as a 4090. And if you are running other programs in the background (especially browsers) then set the value higher.
FYI - I am using the calculation of 1024 x the base memory amount (such as 16) to arrive at those numbers, but you could literally input any number value as long as both are the same. I just use that as it feels correct.