Computer keeps skipping in game

After a good bit of gameplay my computer audio and video will start lagging really bad and skipping. But when I exist out of the game my video goes back to normal but my audio still lags until I restart my computer.

Some system specs , temps idle/load could help.

This is a 100% guess from me with no information , but could be a ram issue , that as the machine accesses and uses more ram it accesses parts that are corrupted and cannot recover from it.

Might not hurt to try only a single stick of ram , try each one alone and see what it does.

You gotta give u more details if you want us to help you out. PC specs? Temps? Overclocks?

Someone else said something about running out of system memory. That is, your PC is trying to use ram when the ram utilisation is already at 100%. Basically, you may not have enough ram to run whatever game/program it is that keeps lagging. Give us some more details though.

Honestly I think my temps are fine. And I have 16gb of ram and I dont think I used that much ram.

And so far it happened while playing gta5 and fallout 4.

Is it hard to post what your specs are... you have to tell your specs before any help can be given.