Skip to main content

Troubleshoot · Symptom 6 of 11

Fix local LLM out-of-memory errors

Try first
Note the model file, context length and which memory pool ran out. Compare weights alone with the memory available in that pool.

An out-of-memory failure usually means the complete workload exceeds the usable memory pool, not merely that the model file is large. Count model weights, runtime overhead, context, multimodal components, document processing, and every other application that shares the same RAM, dedicated GPU memory, or Apple unified memory.

The first useful fix is usually to reduce model size or context. Reinstalling the app does not create more memory.