Whenever I play GTA V(might just be when I start running out of memory, which GTA does easily) within 5 mins of playing my system start having 5-10 second long sessions of being completely frozen, then it come back to life for about 5 seconds or so and then repeats. Even after closing GTA V it still continues and will not stop until I restart the system. I tried looking online for a solution and i didn't find much information. I did read somewhere it might be from faulty memory so i ran some memtests passes and everything was good. Recently I discovered that when i disable the pagefile, it does not happen. so it seems its somehow related to the pagefile. does anyone know what i can do to continue to using the pagefile and not have this happen anymore?
Have you looked in task manager to see what is useing all the memory?
windows has some wierd ass ways to handle memory.
My best guess is your system simply stalls cause it is either trying to compress memory to store more in memory, or it is writing swap file like crazy, either way neither is good.
How much memory do you have since you're running out?
Do you have some task which is hogging up massive amounts of memory?
I have 8GB of RAM ,only process using lots of memory was GTA V, but after the game closed that was freed but it continues to freeze up until the restart. I just re enabled the pagefile and tried to cause the problem to happened again but its not. maybe because i made a larger pagefile than i normally use. I normally have a 4GB pagefile, but this time i set to to the recommended size, 12GB and it not having the problem. ill wait and see if it ever happens again, maybe i can try getting my system to commit an insane amount of ram.
Don't forget Performance Monitor (start, type in perfmon).
You can add a whole bunch of stuff to monitor, may be of more use than task manager for troubleshooting.
Could also be a bad HDD. Perhaps try chkdsk, or some other tool to check it out. If it is a SSD, trim it, or even defrag it. Newer versions of windows defrag (Windows 8.1+?) will trim SSDs. However one defrag won't hurt it that much, and can force it to do its own trimming. Just don't make a habit of it.
You used to be able to disable the pagefile by settings its size to zero, but you could run into out of memory errors crashing apps etc.
Just let window$ handle the page file, that's about the only thing they made work somewhat properly in windows.
If it happened cause you disabled the page file all togehter im baffled you didn't BSOD, most OSes really don't like running out of memory and swap.
The linux kernel just down right crashes if you run out of memory and swap, no buts or ifs just crashes, time for a cold reboot.
But how can your system use 8gb of memory even if you're playing GTA V, even with 32gb available my system uses less then 8gb while playing some of the newer AAA's, you must have some major memory hog running on your desktop, or use like a gizillion mods for GTA to run out of memory, which in that case you'll need to buy more RAM, or disable some mods.