VRAM Explained: Why 128GB of RAM can’t save a CUDA Crash

Sitesh Pattanaik

2026/10/18

1. Introduction

If you have run an AI model or worked on model training, you might have seen this error

CUDA out of memory

You might have 64 or 128 GB of RAM and still hit it. The reason is VRAM.

Despite the name, VRAM (Video RAM), it has nothing to do with video in machine learning. It’s just the memory lives on the GPU (Graphics Processing Unit). The name is something that stuck from when GPU was only used for processing graphical tasks.

2. Background

As ML is highly dominated by Matrix multiplication which is nothing but simple math repeated billions of times, GPU dominates the world of AI. This is the whole reason VRAM exists.

3. VRAM vs System RAM

System RAM

VRAM

Example: a 7-billion parameter model stored in 16-bit (2 byte) needs about 7B * 2 bytes = 14GB, just for it’s weights. That’s before anything in the working memory. So, the model size and VRAM is so tightly coupled.

Now, that explain the original question that we had, why even having a 128GB of RAM isn’t sufficient enough for CUDA.

4. What is a Bus?

A memory bus is simply the set of connections between two components. The length depends on the functionality. This bus control, how fast data moves

5. Two flavors of VRAM

GDDR6: The consumer standard.

HBM3e: The AI data center standard

6. Conclusion: Memory is the bottleneck

Modern AI chips can compute much faster than memory can feed them. This is often called as memory wall. Much of today’s AI hardware innovation is moving the memory close to the chip, and tearing down the wall.

VRAM size and memory bandwidth matters a lot in the world of machine learning beside just raw compute power.