Who’s exploring?

DISCOVER · ARTICLE

How computers remember

Your computer keeps two kinds of memory: a fast notebook it forgets when the power dies, and a patient library that keeps everything.

A green computer motherboard close-up

The desk and the filing cabinet

Imagine a scholar working at a desk. The desk holds the few papers in use right now; the filing cabinets hold everything else, but fetching from them is slow. A computer organises memory the same way. RAM — random-access memory — is the desk: quick to reach, modest in size, and wiped clean when the power goes off.

Storage — a hard drive or solid-state drive — is the filing cabinet: slower, vastly larger, and permanent. When you open a photo, the computer carries it from storage onto the desk of RAM; when you save, it files the changed version back.

Why forgetting is a feature

RAM forgets because of how it is built: each bit is a tiny electrical charge or a miniature switch that must be constantly powered or refreshed. That design makes it fast and cheap per quick grab — and useless as an archive, by design.

Storage media keep their patterns without power: magnetic regions on a spinning disc, or trapped charges in the cells of a solid-state drive. The trade is speed. RAM answers in billionths of a second; even the fastest storage is a slowcoach beside it, which is why computers juggle both.

Layers all the way down

In truth there are more layers: tiny, even faster memories sit inside the processor itself, holding the numbers needed this very instant. Engineers call the whole arrangement the memory hierarchy — a pyramid of speed versus size.

Every freeze, every 'not enough memory' warning, every quick-loading game is this pyramid at work: a machine forever tidying its desk so the next task has room.

Keep reading? Spark picked your next article.

The 128 symbols behind every text fileMore about Computing

More in Computing

— forget which articles you’ve read on this device.

Sources, credits & transparency

Development reference photograph · Unsplash. Reference use; provenance and final image approval pending; see public/images/manifest.json.

Created with AI assistance as part of a bulk seed pack approved by the SparkKindly site owner on 15 November 2026. No independent specialist review is claimed.

Report a mistake on this page