"Reboots after one hour," doesn't sound like a RAM problem but it could be, I guess. Boot off of a Memtest86 USB to test the RAM. If it makes it through one complete pass without any errors I doubt it's the RAM.
Assuming Windows, what does eventvwr say?