Skip to content
BENIBIX Learn

Error-Correcting Code Memory (ECC Memory)

Infrastructure🖥️ ServersServer Hardware Parts

Also known as ECC Memory, ECC RAM, ECC, Error-Correcting Memory

Memory that finds and fixes its own small slips. Servers use it.

Think of it like

Think of it like a spell check for memory. It spots a wrong letter and fixes it fast.

Example

Jack's database server runs for months without a restart. Its ECC memory quietly fixes a few flipped bits, and the logs show each one.

Why it matters

A server that runs for months will meet memory errors. ECC stops them from quietly spoiling saved data.

Definition

ECC memory is memory that can find and fix small errors on its own. Now and then, a bit in memory flips by itself. Normal memory passes the wrong value on, and a program may crash or save bad data. ECC memory stores a little extra check data for every chunk. With it, the memory spots the flipped bit and fixes it as it reads.
The memory sticks inside are ECC. They fix small errors before a program sees them.

Common mistake

Thinking ECC fixes every error. It fixes small ones and reports bigger ones, so a failing stick still needs changing.

Key takeaways

  1. 1
    Extra check data. Stored next to each chunk.
  2. 2
    Fixes small errors. As the memory is read.
  3. 3
    Reports the rest. Bigger errors show in the logs.

Learn it properly