Error correction memory (ECC) has been segmented by Intel. Intel Xeon support ECC memory but Core processors do not. AMD Ryzen is a new CPU and socket and unofficially ECC is supported. The CPU supports ECC but motherboard support may vary.
On average about 1 in 3 machines suffers from a correctable memory fault on an annual basis. ECC memory can eliminate that problem completely.
Memory can also be attacked using a technique called Rowhammer, where rapid repeated reads of the same memory locations can cause adjacent locations to change their state. ECC memory can eliminate that problem completely.
ECC DDR4 memory is hard to find thanks to the problems brought on by Intel’s segmenting of the market to increase margins.
Crucial 16GB DDR4 SDRAM ECC Unbuffered DDR4 2666 (PC4 21300) Server Memory CT16G4WFD8266 is know to be available but supply is being sold out of China.