Emre ARALCEO, CTO and Fullstack Developer

How did I end up killing my SSD without even realizing it?

While checking HWInfo and CrystalDiskInfo—prompted by some fan noise—I stumbled upon something I’d never seen on my own PC: Health Status: 0%. Not "Caution, 12%" or anything like that—just a flat-out zero. The drive was still functional, but even according to its own firmware, it had looooooooooooooooooooooooooooooooong since exhausted its total lifetime write capacity. god...

I don’t run a database on my desktop, nor do I spend my days rendering videos, so naturally, I got suspicious. I set out to investigate where all these write operations were coming from.

The Usual Suspects

I went through the possibilities one by one:

  1. Kaspersky. Antivirus software constantly scans everything in real-time, but these operations are almost exclusively "reads"—and read operations don’t wear out NAND flash memory cells. Upon closer inspection, I found that the antivirus’s log files and quarantine area had a negligible impact.
  2. Frequent reformatting. I’ve reinstalled Windows so many times that I’ve lost count. Even so, a clean install only accounts for about 50+ GB of data; I would have had to perform that process thousands of times to reach the current state of the drive.
  3. Games. Large installations and massive updates certainly involve writes, but let’s look at the candidates: Rainbow Six Siege? Ubisoft is practically sinking, so they’ve stopped caring about the game. GTA V? Even its largest updates wouldn't account for this. CS2? Weeellllllll, Valve isn't exactly pushing that kind of volume, hehehe. LoL? ATS? TFT? Even in the worst-case scenario, they couldn't have generated more than a few hundred gigabytes of writes per month.
  4. Node? Go? The "node_modules" folder, builds? Given the number of projects I have, this was the most likely suspect. What about the 5GB+ "node_modules" folder for the UI, which I’d recreate every time I ran npm install? Or other projects where I’d used pnpm or npm on a whim? Still, even if I added up all my node_modules folders, it wouldn't account for terabytes of written data.

Yes, these culprits do generate a significant amount of write activity, but—thankfully—none of them are capable of completely killing a disk.

I found the real culprit: pagefile.sys.

When I finally identified the source, I was kicking myself for not thinking of it sooner. I had written a script to track spikes in disk write operations, and the moment I saw the first log entry, I knew exactly what it was. Every time I ran a local model, there would be a sudden surge in write activity.

The models I was working with didn't fit into VRAM, so I was offloading the remaining layers to my system RAM. That in itself wasn't the issue—the problem was that I had forgotten about the pagefile.sys file, which I had previously increased in size just for the heck of it. Between the model weights, the KV cache, a browser with 20+ tabs open, an IDE, Docker, Telegram, WhatsApp, Spotify, TS3/TS6, and even a game of TFT... my total memory usage exceeded my physical RAM capacity. Windows—behaving exactly as Microsoft surely intended it to—began writing the overflow data to the pagefile.sys file. If you keep running local models (at full capacity) throughout the day, you end up writing terabytes of data to your disk.

Lesson: An SSD doesn’t care about what is being written to it. If your operating system (I honestly wonder every single time whether I should even call it Windows) is using your disk as RAM, you can say whatever you want—but none of it will make any difference.

Share:X