https://www.memtest86.com/
I think the last time I used it was on a P4 mobo. Long story short, it was the disk controller that was screwing up, and I replaced just the mobo, keeping everything else.
It still runs, too, with Fedora.