Tag

DRAM

Technology guides and FAQs tagged with DRAM.

FAQs

What Does Random Access Memory Do?

Random access memory (RAM) holds the programs and data your processor is working on right now. A storage drive keeps files permanently, but it is too slow to feed the processor directly. So the computer copies what it needs into RAM, where the processor can read and write in nanoseconds. This is why apps open quickly and switch smoothly when you have enough memory. RAM is volatile, which means everything in it is erased when the power goes off. For a full overview, see our guide on what is RAM.

What Random Access Memory Does, Step by Step

  1. You open an app, and the operating system copies its program data from the SSD or hard drive into RAM.
  2. The CPU requests instructions and data by memory address, and RAM returns them almost instantly.
  3. The CPU writes results, such as the text you type, back into RAM.
  4. When you save, the data is written from RAM to storage so it survives a shutdown.
  5. When you close the app, the operating system frees that memory for something else.

Why It Is Called Random Access

Any location in RAM can be reached in about the same time, regardless of where it sits. Older storage such as magnetic tape had to be read in order from the start. Random access lets the CPU jump straight to the exact memory address it needs, which makes multitasking possible.

What Is Stored in RAM

  • Parts of the operating system that are in use
  • Open apps and browser tabs
  • Documents you have not saved yet
  • Game levels, textures and audio that the game is using
  • Recently used files kept in a cache for fast reopening

RAM vs CPU Cache vs Storage

Computers use layers of memory. CPU cache (L1, L2 and L3) is the smallest and fastest layer and sits on the processor. RAM is larger and slower than cache. An SSD is larger again and slower still: RAM responds in nanoseconds, while an NVMe SSD responds in microseconds, which is roughly a thousand times longer to start a read. Each layer holds the data the layer above is likely to need next.

How RAM Stores Data

Most system memory is DRAM (dynamic RAM). Each bit is held as an electrical charge in a tiny capacitor, and the charge leaks away within milliseconds, so the memory controller refreshes it constantly. That constant need for power is why RAM loses its contents at shutdown. Current computers use DDR4 or DDR5 modules. CPU cache uses a different design called SRAM, which is faster and costs more.

Does More RAM Make a Computer Faster?

Only when the computer is running short. If you have enough RAM for your apps, adding more changes nothing noticeable. If you do not, the system moves data to the drive, and everything slows down. Extra memory then removes that delay.

What Happens When RAM Is Full

The operating system moves less-used data into a file on the drive called virtual memory, or the pagefile on Windows. Drives are much slower than RAM, so you will see lag, long app switches and freezing. Closing apps or adding RAM fixes it. Our guide on how to reduce RAM usage shows how to find the cause.

How Much RAM Do You Need?

8GB covers basic browsing and office work. 16GB suits most people. 32GB suits gaming, video editing and heavy multitasking. Servers and AI workloads use 128GB or more. For a beginner-friendly breakdown, read RAM explained for dummies.