Types of Computer Memory: What are DDR, VRAM, HBM, Cache, EEPROM, and others?
Computer systems use many different memory terms. Modern personal computers use DDR5 system memory and NVMe SSD storage. Graphics cards contain GDDR7 VRAM, and artificial intelligence processors use HBM4. Microcontrollers contain Flash, SRAM, and EEPROM memory on a single integrated circuit.
Although these technologies use many different abbreviations, they develop from two primary architectures: volatile memory and non-volatile memory. Systems arrange these memory types in a performance hierarchy.
This article classifies each memory technology and explains its function in computer systems.

Computer memory types divide into volatile and non-volatile architectures.
Volatile Memory and Non-Volatile Memory
Memory devices divide into two primary categories based on data retention:
- Volatile memory requires continuous electrical power to maintain stored data. If electrical power is removed, all stored data is lost immediately. Random Access Memory (RAM), system caches, and video memory are volatile.
- Non-volatile memory retains stored data without electrical power. Solid-State Drives (SSDs), USB drives, SD cards, and microcontroller flash memory are non-volatile.
This distinction explains why a computer requires a boot sequence. When the system powers on, the volatile system RAM contains no data. The processor must copy the operating system from non-volatile storage into system RAM before software execution begins.

Volatile memory loses data when power is removed, while non-volatile memory retains data.
Fast memory circuits require complex silicon structures that have high manufacturing costs and lower storage density. Slower memory technologies have lower costs and provide higher storage capacity. Because a single memory type cannot provide both maximum speed and maximum capacity, computer systems organize memory in a hierarchical structure.
In this hierarchy, high-speed caches sit closest to the processor, high-capacity system RAM provides intermediate workspace, and non-volatile storage holds permanent files.

The memory hierarchy balances operational speed against storage capacity and component cost.
System Memory: SRAM, DRAM, and DDR Generations
Volatile system memory relies on two primary bit-storage mechanisms:
- Static RAM (SRAM) stores each bit in a circuit that contains six transistors (6T). SRAM provides high-speed operation and requires no refresh cycles. However, the multi-transistor design consumes significant silicon area and increases production cost. Systems use SRAM for processor cache memory and microcontroller registers.
- Dynamic RAM (DRAM) stores each bit as an electrical charge in a single capacitor controlled by an access transistor (1T1C). Because this cell requires minimal silicon area, DRAM achieves very high storage density at low cost. However, storage capacitors lose charge through leakage current. The memory controller must periodically refresh the charge on every cell to prevent data loss.
Standard system RAM modules use DRAM cells. Synchronous DRAM (SDRAM) and Double Data Rate (DDR) memory are sequential developments of this DRAM architecture.

Modern DDR memory modules represent sequential developments of the core DRAM architecture.
Synchronous DRAM (SDRAM) aligns data operations with the system clock signal. Double Data Rate (DDR) SDRAM transfers data on both the rising and falling edges of the clock signal, which doubles data throughput. Each subsequent standard (DDR2 through DDR5) decreases operating voltage and increases data transfer rates.
Memory modules across different DDR generations are mechanically and electrically incompatible. For example, a DDR5 module will not fit into a DDR4 motherboard socket.
For a transistor-level analysis of SRAM, DRAM, and DDR architectures, refer to SRAM vs DRAM vs SDRAM: The Cell-Level Differences (and Where DDR Fits In).
Specialized Graphics Memory: VRAM, HBM, and Unified Architectures
Graphics Processing Units (GPUs) require dedicated high-bandwidth memory architectures to process large visual datasets:
- Video RAM (VRAM) refers to dedicated memory reserved for the graphics processor. Most graphics cards use Graphics DDR (GDDR) memory. GDDR modifies standard DDR architecture to optimize wide parallel data transfers rather than low latency. VRAM is soldered directly to the graphics card and cannot be upgraded independently.
- High Bandwidth Memory (HBM) stacks DRAM dies vertically in a three-dimensional package. Microscopic vertical interconnects called Through-Silicon Vias (TSVs) link the stacked dies. This design provides thousands of parallel data lanes, which produces very high memory bandwidth for high-performance computing and machine learning accelerators.
- Unified Memory provides a single physical memory pool shared by both the Central Processing Unit (CPU) and the GPU. The processor package integrates this memory directly adjacent to the processing cores. This shared architecture removes the requirement to copy data between system RAM and graphics RAM, which reduces power consumption and latency.
For detailed analysis of GDDR and HBM operations, refer to DDR vs GDDR vs HBM: How GPU Memory (VRAM) Actually Works.
Microcontroller Memory Architecture
The memory hierarchy also applies to embedded microcontrollers. For example, the ATmega328P microcontroller contains three separate memory spaces on a single integrated circuit:

Microcontrollers integrate Flash, SRAM, and EEPROM on one silicon die.
- Flash Memory (32 KB): Non-volatile memory that stores the compiled program code. The code remains in Flash memory when electrical power is removed.
- SRAM (2 KB): Volatile working memory that stores program variables and stack data during execution. If program variables exceed available SRAM capacity, memory overflow occurs, which causes program crashes or system resets.
- EEPROM (1 KB): Electrically Erasable Programmable Read-Only Memory. This non-volatile memory stores system parameters and calibration values that must survive power cycles.
Non-volatile flash and EEPROM memories have limited write endurance. Flash memory supports approximately 10,000 write cycles before degradation occurs. EEPROM memory supports approximately 100,000 write cycles. If an application executes repeated write operations in a continuous program loop, it will permanently degrade the memory cells.

Non-volatile memory technologies have finite write cycle endurance limits.
Some microcontrollers also interface with Pseudo-Static RAM (PSRAM). PSRAM uses an internal DRAM core with an integrated self-refresh circuit. The interface presents an SRAM-compatible protocol to the processor. This configuration provides high-density external memory for camera buffers and audio buffers at low cost.
Summary
Computer memory technologies operate within a defined functional hierarchy:
- SRAM provides maximum operational speed with low density for processor caches and internal registers.
- DRAM and DDR provide high-capacity volatile workspace for operating systems and active software.
- VRAM and HBM provide high data bandwidth for graphics processing and artificial intelligence workloads.
- Flash and EEPROM provide non-volatile data retention for firmware, operating system files, and permanent configuration data.
System designers select each memory technology to balance access latency, data bandwidth, physical board space, and manufacturing cost.