Comment on Games on my PC start stuttering pretty badly when they aren't the active window for a while. Have to close the game and restart to resolve the stuttering issue. What exactly is causing this?

<- View Parent
NaibofTabr@infosec.pub ⁨2⁩ ⁨days⁩ ago

This is the correct answer and the function is called Virtual Memory in Windows but is commonly known as the pagefile or swap. Adding more RAM won’t save you from this, as Windows will automatically move memory files into virtual memory if they’re idle for awhile, regardless of how much RAM is currently in use. In fact adding more RAM will probably increase the size of the virtual memory which may make the problem worse for you.

Here is a more complete explanation: Swap file in Windows 10 & Windows 11: How to use it to optimize PC performance (increase, adjust, deactivate swap)?

The pagefile is configurable. You can change which hard drive it gets stored on, how big it can be, and even turn it off completely. Turning it off has risks though, and may lead to system crashes (see the warnings in the article).

You could add an SSD specifically to serve as a pagefile location and nothing else, in which case you could just get a small cheap one (a 32GB SSD would be more than enough for 16GB of RAM) - assuming that you have a place to plug it in to your motherboard, and then turn off the pagefile storage on all other drives in your system. That would be an easy change as you wouldn’t have to reinstall Windows onto a new hard drive.

Ultimately though, the easiest and cheapest fix is to just change your behavior - close the game if you’re not using it for awhile and relaunch it when you want to play again.

source
Sort:hotnewtop