Whodunit: The Case of the Crashing Computer
If Maria could send desktop notifications, Saturday night's would have read:
"Vic… you are slaving this computer. It's quitting."
She can't. So the machine said it the old-fashioned way. Edge froze mid-scroll, the model runner died with a stack trace, and Event Viewer filled with BlueScreen entries like a haunted guestbook. An evening of pilot testing (GitHub import, Q&A, PowerPoint templates), and everything around me kept falling over. Grabe (unbelievable).
So I treated it like a whodunit.
Suspect #1: the GPU. Verdict: framed. By a ghost.
Event Viewer looked damning. LiveKernelEvent 141, a GPU engine timeout, at 6:11 PM, 6:17 PM, and 7:48 PM, each paired with a bugcheck (a Windows crash record). Right in the middle of my testing. Case closed? Graphics card dying, AI workload killed it, buy a bigger GPU, cry.
Except. Scrolling back, the same event shows up every four hours. Every day. For weeks. Including 3 AM, when this computer is doing nothing but existing in the dark.
Then the real tell: every event had the exact same kernel memory addresses. Windows randomizes those on every boot, so two real crashes on different days cannot share them. And the machine had rebooted between "crashes" that matched pointer for pointer.
These weren't crashes. Windows Error Reporting had one old GPU fault queued (the folder timestamps say April 6 and July 6). It kept trying to upload it to Microsoft and failing, because this machine is offline half the time. Every failed retry writes a fresh, scary, brand-new-looking crash event into the log. My computer has been performing the same two accidents on schedule, like community theater, since spring.
The GPU didn't crash on Saturday, or since July. My event log is haunted, and the ghost punches a clock.
Suspect #2: Narra. Verdict: annoyingly innocent.
Surely the evidence engine hammering a 14-billion-parameter model all evening was involved somehow. So I pulled Narra's audit log: append-only, can't be edited, built that way so nobody (including me) could tidy up history.
Zero failures all session. GitHub import: clean. Q&A citing Narra's own source code: clean. Three PowerPoint renders into the corporate template: clean. It even regenerated a full deck at 8:08 PM, which turns out to be the worst possible minute on that machine, and finished.
My own software had an alibi, with receipts, in a format I designed to be tamper-proof. I've never been so pleased to lose an argument with a log file.
The real culprit: a slow leak and one unlucky ask
Confession first: I'd completely forgotten hardware is finite. Deep in pilot testing, I had every other project running too: dev servers started days ago and never stopped, a stack of VS Code windows, a browser holding every tab I'd "come back to later." The machine had never complained, so I'd stopped seeing memory as something I was spending. You can't forget about resources. You can only defer the invoice.
The simple version: the machine has two memories, the graphics card's own 12 GB (where AI models want to live) and the main 31 GB (everything else). My writer model needs about 10 of the 12 GB. When a model doesn't quite fit, Ollama (the local model runner) quietly moves the overflow into main RAM. Slower, but survivable.
Pero (but) main RAM had spent the day being nibbled to death. The Next.js dev server, known to leak the longer it runs, had ballooned. VS Code was over five gigabytes. Edge held a few more. Windows' own leak detector had flagged the dev server and VS Code by name that evening: the operating system pointing at someone in a lineup.
At 8:07 PM, Ollama tried to load a model, needed one more ~270 MB slice of RAM, and Windows said: there isn't any. The model runner died on the spot. That's a crash. Edge, starved at the same moment, froze instead. That's a hang. Same cause, different coping styles. Honestly? Relatable.
Ollama then evicted everything, retried in the room it had just freed, and succeeded. So Narra's log stayed clean while the machine around it quit. Maria was right. I was slaving the computer. It quit. lol.
What this earned: a detective you can run
Solving this took a dozen manual queries across four logs. That's not a repeatable skill, that's an evening. Now it's one command:
uv run python scripts/crashcheck.py --workspace .narra
It checks RAM and the known leakers, disk, VRAM (the graphics card's memory), whether a model is secretly spilling into main memory, what Ollama's runner log recorded, and which apps crashed or hung. My favorite part: it detects the ghost. Kernel events with identical pointers across a reboot get labeled as stale re-reports of an old fault, with the real fault's date pulled from the report queue, not reported as fresh GPU failures. It reads everything and touches nothing. Every finding says what happened and what to do, command first.
The bigger lesson goes in the product queue: the machine is a dependency, and dependencies get health checks. narra doctor will grow RAM and VRAM headroom warnings, so the next "it keeps crashing" gets caught before the session, not diagnosed after.
But the lesson that stuck is softer than a ticket: even computers need rest and a buffer. Rest: restart things that have run for days, since a leak resets to zero when the process stops. Buffer: the free memory you "aren't using" isn't waste. It keeps the next ask from being the one that kills something.
I'd love to close with "and of course I protect my own rest too," but that would be the only uncited claim in this post. Truth is, I regularly close the laptop at 3 AM and call it dedication. The machine and I run the same way: everything at once, no headroom, restart never. It's not good for either of us. The difference is the machine was honest enough to quit. I just pour another coffee and call my leaks "passion projects." A buffer isn't idleness, and rest isn't lost time. That goes for 31 GB of RAM, and for me.
So now: restart the dev server before a long AI session, and leave the machine room to breathe. And if the event log says something crashed at 3 AM, ask who was really running past their limits at that hour. Lately, both of us.
Thoughts?
Comments are threads on GitHub, so a GitHub account is needed to post. No account? Email me instead — I read everything.