Hi bud, I had some problems like this recently.
Long story short, I found out it was my memory playing up.
Would be a bit of cooincidence if you had the same problem.
Have you messed around with memory timings/speeds recently?
Or changed memory perhaps?
(I changed from 16 to 32gb and was having problems with set of sticks I had so sent them back to the jungle people and got some different sticks, all is well now.
What PC specs you got by the way?
Sorry should have put them in! Haven't touched anything to do with timings/speed.
Ram: 16GB Corsair VENGEANCE DDR4 2133
GPU: 1770 ti
CPU: i5 7600k
Seems to be fine for a while then times it will happen every half hour.