This site uses cookies and related technologies, as described in our privacy policy, for purposes that may include site operation, analytics, enhanced user experience, or advertising. You may choose to consent to our use of these technologies, or manage your own preferences.
When AI Runs Out of Memory
Summary
Discover how to grow AI knowledge bases exponentially simply by adding SSD capacity rather than redesigning servers around ever larger memory footprints.
SSDs Unlock AI Inference at Scale With RAG and KV Cache Data Offload
If you’ve ever rewatched a favorite episode of a streaming series, you’ve probably appreciated the “Previously on…” recap. Without it, you might have to waste time watching previous episodes for a refresh.
Many AI inference systems don’t get that luxury. When users return to a document or revisit prior context, models often recompute everything from scratch, burning GPU cycles and forcing users to wait tens of seconds for answers they’ve already covered.
At scale, this problem extends beyond the context memory stored in key value (KV) caches to vector databases powering retrieval-augmented generation (RAG), where memory costs balloon just to keep knowledge searchable.
The result is AI that forgets too easily and costs too much to remember. In a new white paper linked here, Solidigm and Metrum AI show how SSDs give AI systems a memory that lasts, without paying a premium for every recall. Assisting our effort was FarmGPU, a data center infrastructure provider with deep storage expertise.
The memory wall in modern AI
AI inference pipelines are growing in two directions at once. On one side, RAG applications rely on massive vector databases that can reach hundreds of millions of embeddings. On the other, large language models are processing ever longer contexts, generating enormous KV caches that must stay accessible for fast response times.
Traditionally, both problems have been addressed with more DRAM and more GPU memory. But that approach is running into hard economic and physical limits.
In our research, we observed that in-memory vector indexing at 100 million vectors required more than 300 GB of DRAM. At the same time, a single long-context document, comprising around 180,000 tokens, can consume over 90% of GPU VRAM, leaving little room for concurrency or reuse.
The result is a system that scales in cost faster than it scales in value.
Offloading vector search: SSDs change the economics of RAG
One of the clearest findings in the study is how SSD-offloaded vector retrieval fundamentally changes the cost-performance curve for RAG.
By using DiskANN indexing with vector data stored on Solidigm™ D7-PS1010 SSDs, the tested system reduced DRAM requirements at 100 million vectors from 331GB down to 116GB, a 65% reduction, without sacrificing accuracy. In fact, recall remained at or above 99% even at large scale.
Performance improved as well. At production-representative concurrency (1,024 threads), SSD-offloaded DiskANN delivered 14% higher query throughput than DRAM-bound HNSW indexing, along with lower average and tail latency. This challenges the long-held assumption that moving data to storage necessarily means slower results.
For RAG pipelines, the implication is powerful. Organizations can grow their knowledge bases from millions to hundreds of millions of vectors simply by adding SSD capacity rather than by redesigning servers around ever larger memory footprints.
KV cache offload: Making long-context AI practical
Vector search is only half of the story. The other major bottleneck in AI inference is the KV cache generated during attention computation in large language models.
Without offload, switching back to a previously analyzed document forces the system to recompute the entire KV cache, potentially taking 30 to 40 seconds before the first token is returned in the case of a big prompt. That delay breaks investigative and analytical workflows, especially when users move back and forth between documents.
The white paper shows how extending the memory hierarchy — keeping active KV data in GPU memory and additional context on Solidigm SSDs — dramatically changes this experience.
When cached KV tensors were retrieved from SSD instead of recomputed, time to first token dropped from ~39 seconds to just 1.43 seconds, a 27× improvement. Models no longer reprocess the same context twice, and GPUs spend their time generating insight rather than repeating work they’ve already done.
Just as importantly, this approach avoids the need to scale GPU VRAM for workloads that are memory bound. SSDs provide a far more cost-effective tier for persistence and reuse.
Performance, predictability, and cost — together
Across both vector retrieval and KV cache offload, the data points to a consistent conclusion: SSDs are no longer just a capacity tier. With the right software architecture, they become an active performance layer in AI inference.
In synthetic and production benchmarks alike, SSD-offloaded designs delivered:
- 23–26% higher query throughput across datasets from 1M to 100M vectors
- Up to 65% lower DRAM consumption at large scale
- More than 2× improvement in queries per dollar at the infrastructure level
For enterprises building AI systems meant to last, this matters. Memory prices are only going in one direction in 2026. GPU resources are precious. Architectures that assume everything must live in DRAM or VRAM simply don’t scale economically.
A new role for storage in AI
The takeaway is compelling. Large-scale AI inference systems no longer just benefit from high-performance SSDs, they require them.
By offloading RAG data structures and KV caches to high-performance NVMe SSDs, organizations can break through memory barriers that limit scale, responsiveness, and ROI. The result is AI infrastructure that grows with demand, delivers consistent performance, and makes better use of every compute dollar.
By letting AI remember instead of re-learn, SSDs turn inference into a true “Previously on…” experience where context is restored in seconds, GPUs stay productive, and insight doesn’t have to start from scratch.
Read the Metrum AI White Paper here: Breaking Memory Barriers in Video Analytics White Paper
Ace Stryker is Director of AI & Ecosystem Marketing at Solidigm where he focuses on emerging applications for the company’s portfolio of data center storage solutions.
Ace Stryker: Storage has really been, for a lot of folks, kind of an afterthought. It's a relatively small part of the bill of materials for an AI cluster. That's changing very rapidly.
Steen Graham: 2026 is quickly becoming the era of memory bottlenecks. As the models explode, as the agents work 24/7, and as we start uploading more data—and beyond text data like video data—you get this massive problem as it pertains to memory. DRAM is expensive and constrained, and that's only accelerated. We used a KV cache offloading technique, and that's allowing us to offload critical context to the solid-state drive, as well.
JM Hands: KV cache is like a human's short-term memory. The more stuff you can fit in the context, the more thinking and understanding it you can do on that data. Well, if you're filling up that really expensive, high bandwidth memory, if they have that just sitting in memory there, that would be a very huge waste of memory. What if we just took that KV cache we've already pre calculated, and just offload that to this hierarchy, first to memory and then then to fast disk.
Steen Graham: When you're constrained on your GPU memory, you're going to have to re upload that same context the GPU. That's gonna add a lot of latency. But if you offload it to the SSD, we've seen as high as like, a 25x plus performance improvement.
JM Hands: We found out that when we added network storage to one of our data centers, that the utilization of GPUs went up by a not insignificant amount. The customer's user experience was so much better with this adding of these network storage volumes in the cluster to the GPU storage arrays, that it increased GPU utilization across the board. And so for us, that enables GPU workloads moving between systems and people having better total cost of ownership, because they pay for what they use. So this completely unlocked and increased utilization across the board for us.
Ace Stryker: It's time to put storage in the spotlight, right? We need SSDs. This is a bottleneck to scaling AI solutions from this point forward. Storage is a more important lever than it ever has been.