GitSeonjeap
English

← News

Local AI

Ollama v0.40.17-rc2, Changes MLX Runner Memory Retention Method

Posted As of

In the Ollama prerelease v0.40.17-rc2, the criteria for how the MLX runner retains prefix history have changed. Instead of a fixed limit, it now uses observed memory headroom as the basis. Since this is a prerelease, the behavior of the official version is not guaranteed.

What happened

  • Source: Based on the Ollama GitHub release (the project's official repository).
  • The prerelease v0.40.17-rc2 was posted on 2026-11-19 (according to the GitHub tag).
  • The MLX runner keeps stored prefix history based on observed memory headroom and the workspace for running tasks, instead of a fixed 8 GiB limit.
  • When system compression grows, it reportedly frees unused buffers and old history, while keeping reusable paths and active requests.
  • The official release date, other change lists, and memory savings figures were not confirmed in the notes.

Our take

This is relevant to users running long conversations through Ollama's MLX path on Apple Silicon Macs. Basing behavior on memory headroom may make a difference when memory is tight, but the actual effect cannot be determined from this note alone. Since it is a prerelease, it is worth also checking whether a stable version has been released.

Sources and related posts

More in Local AI

  1. Ollama v0.40.20-rc0 Candidate Build Includes Only llama-server Update (github.com)

    Ollama tagged the v0.40.20-rc0 release candidate on 2026-11-27, and the only change listed is an update to llama-server. The page does not say when or whether a stable release will follow.

    Local AI| |1 sources |Our take included
  2. llama.cpp b12760 Disables Adreno E17 Compiler Workaround by Default (github.com)

    llama.cpp build b12760 has been released, and the OpenCL Adreno E17 compiler workaround setting is now off by default. The release page does not say which devices are affected or how performance changes.

    Local AI| |1 sources |Our take included
  3. llama.cpp b12753, ON_DEVICE Sequence State Restore Fix (github.com)

    llama.cpp build b12753 has been released, containing a single change that fixes a sequence state restore issue when using ON_DEVICE. No affected models or performance changes were confirmed.

    Local AI| |1 sources |Our take included

All news