Sounds to me like a hardware stability issue (RAM), had the exact same issue on Solus Budgie, when i build this pc about a year ago.
I used Prime95 to test for memory stability issues, this method is to my knowledge completely safe. Should you choose to try it, know that it is at your own risk, you are putting heavy load on your system.
Download and unpack the Prime95 - Linux: 64-bit package "p95v303b6.linux64.tar.gz": https://www.mersenne.org/download/
Check that the checksum code matches the downloaded file.
To test RAM stability in a terminal:
- Go to the unpacked folder:
- Run the Prime95:
- Choose 15. Options/Torture Test
Which test to choose is in these official documentation quotes:
"Keep in mind that the faster prime95 finds a hardware error the more likely it is that
other programs will experience problems."
"Use the updated "Large FFTs" test to make sure your memory overclock/XMP profile is working correctly, run it for a few hours and make sure none of the threads stop running and you don't crash."
"The exact cause of a hardware problem can be very hard to find.
If you are not overclocking, the most likely cause is memory."
"WHAT TO DO IF A PROBLEM IS FOUND?
you can try underclocking memory or increasing memory voltage a tiny bit"
I raised my DRAM Voltage from 1.35v to 1.36v, which as far as i've read is absolutely safe to do.
My system failed the test above within an hour, but after this small tweak, i can complete the test for hours without issues, and have not had a single crash since. I have G.Skill memory modules like you do, and are using their 3200Mhz XMP profile.
Note that running this will put a lot of stress on your system, but you have quality RAM modules with good heatspreaders, and with good pc case ventilation you should be good to go, but again... running this is at your own risk.
Alternatively you could make a Memtest86+ usb, to see if your memory is creating errors while it is being tested
This is what used in the past: https://www.memtest.org/
Or you can try like you suggest "revert to default RAM profile", which i guess would also give system stability.