Use the YouTube controls to play. This embedded player connects to YouTube; you can also watch on YouTube.

Short / Inside technology

How RAM Works — Why It Forgets When Power Goes Off

· Short · 36s · By Howloft

DRAM stores bits as tiny electrical charges that need refreshing. Without power, refresh stops and data is lost. SSD storage keeps saved files without power.

Watch on YouTube

Published by Howloft. Read our sourcing and corrections approach. Our visual models are simplified to explain the idea. Have a question or spotted something we should revisit? Tell us.

How DRAM holds a bit

Most computer main memory uses dynamic random-access memory, or DRAM. A memory cell stores information using charge in a tiny capacitor. That charge leaks away, so the memory system repeatedly restores it through a process called refresh.

Why RAM needs power

When power is removed, refresh stops and the stored information cannot be reliably retained. This makes ordinary DRAM volatile memory. An SSD uses non-volatile flash storage, which keeps saved files when switched off. RAM is the computer’s working space; storage holds the files it can load again later.

Your questions, explained.

Does all RAM need refreshing?

DRAM does. SRAM, commonly used for processor caches, holds bits in circuits that do not need DRAM-style refresh. SRAM still needs power to retain its contents.

Does more RAM give me more storage?

No. Extra RAM gives running programs more working space. It does not increase the capacity of your SSD or hard drive.

Why do saved files survive a shutdown?

Saving writes the information to non-volatile storage. Information held only in ordinary RAM is not a permanent saved copy.

Why does a sleeping computer remember its open apps?

In traditional sleep, the computer keeps its RAM powered while much of the rest of the system rests. Hibernation takes a different approach: it writes the memory state to storage and restores it later. Exact power behaviour depends on the device and operating system.

Explore the science

Go further with these engineering and manufacturer references.