llama-server Kept Crashing Overnight on a 6GB Laptop: System RAM, Not the Model

Stunning-Sherbet1853 · reddit · 2026-10-14

While building a Windows local agent on Ollama (llama.cpp), the author ran the same overnight task kit on a 24GB desktop, 8GB laptop, and 6GB laptop — the 6GB machine crashed three times in one night. Two culprits:

1. llama.cpp's prompt cache

2. Their own agent process leaking

Before/after (same task, same model)

Takeaway: when a local LLM looks unstable on a small GPU, check who's using system RAM before changing model size or quantization — VRAM estimates don't include any of this.

Original post →

More from coding & agent

coding & agent channel →