Systems

RAM · Random-Access Memory

RAM is your computer's fast, temporary workspace — the place where every program you have open right now keeps the stuff it's actively using. When you launch an app, open a file, or load a web page, it gets pulled off the slow disk and into RAM so the CPU can reach it almost instantly. Think of it as the desk you're working at: the bigger the desk, the more things you can spread out and juggle at once.

The catch is that RAM is forgetting by design. It only holds data while the power is on — turn the computer off (or it crashes) and everything in RAM vanishes. That's why unsaved work disappears: saving copies it from the fleeting desk to the disk, where it stays put. This is the difference between memory (RAM, fast but temporary) and storage (the disk, slower but permanent).

When you hear 'this laptop has 16 GB,' that number is the size of the desk. Run too many heavy programs at once and the desk fills up; the system starts shuffling things back to the slow disk to make room, and everything feels sluggish. More RAM mostly means you can keep more going at the same time without that slowdown.

$ free -h
              total    used    free
Mem:           16Gi   9.2Gi   6.8Gi

free shows the desk's size and how much is in use right now — here 16 GB total, 9.2 GB busy.

RAM means 'random-access' because the CPU can jump straight to any spot in it equally fast — unlike a tape, where you'd have to wind through everything in order.

Also called
memorymain memoryworking memory