Why do programs, particularly intensive ones like games, tend to lag have performance issues after idling in the background for a while, even if system usage is within normal parameters?

861 views

IIRC this used to happen when I owned a Mac too, as well as on my Win10 PC I run nowadays.

In: Technology

Anonymous 0 Comments

Some parts of code that aren’t being used can be taken out of active RAM and used by something else, so that something else runs faster. Then when you get back to the game, and it needs to do an action that involves that part of code, it needs to reload it from long-term memory and put it in active RAM (cache it).

Most of the time you don’t notice this, but a game is very time-sensitive, and so you can see it there.