Free | No tracking | Every fact with a source|German and English

Error / Memory

Ollama models fill drive C: (OLLAMA_MODELS)

Models are saved on C: and fill the system drive until downloads stop.

The message

Error: write …\.ollama\models\blobs\…: There is not enough space on the disk.

Affects: Ollama

Why is this happening?

By default, Ollama stores models in the user folder under .ollama\models on drive C:. A single model can be 5 to 40 GB in size. You can only set a different storage location through the environment variable OLLAMA_MODELS.

How to fix it

  1. Create a folder on the target drive, for example D:\Ollama\models.
  2. Quit Ollama: right-click the icon in the taskbar → Quit Ollama.
  3. Open “Edit environment variables for this account” in the Start menu, click “New” under user variables, name OLLAMA_MODELS, value D:\Ollama\models, then OK. Alternatively, in a command prompt: setx OLLAMA_MODELS "D:\Ollama\models".
  4. Optional: Move the current contents of %USERPROFILE%\.ollama\models (the blobs and manifests folders) to the new folder so you do not have to download the models again.
  5. Restart Ollama from the Start menu and check with ollama list whether your models are there. New downloads will now go to D:.
  6. You can cleanly delete models you no longer need with ollama rm <modellname>.

Better not: Do not delete individual files in the blobs folder by hand; use ollama rm instead, or broken models will remain.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Similar errors

Sources

Checked on Oct 21, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.