Ollama v0.32.1 Fixes MLX Memory Leak, Improves Gemma 4 Tool Calling
Ollama released v0.32.1 on July 16, 2024, addressing a critical MLX model cache memory leak that increased memory usage across requests. The update also improves Gemma 4 tool calling reliability and adds authentication prompts for agent web search features.
Ollama v0.32.1 Fixes MLX Memory Leak, Improves Gemma 4 Tool Calling
Ollama released version 0.32.1 on July 16, 2024, addressing a recurrent memory leak in MLX model caching and improving Gemma 4's tool calling capabilities.
Key Fixes
The release resolves a critical MLX model cache leak that caused memory usage to increase across requests. According to the changelog, the fix also improves cache snapshot performance for Apple Silicon users running models through the MLX framework.
MLX text model loading now respects the OLLAMA_LOAD_TIMEOUT environment variable, giving users more control over model initialization timeouts.
Gemma 4 Improvements
Ollama claims improved Gemma 4 tool calling and multi-turn reasoning, specifically citing "more reliable tool-response continuations." The changelog does not specify benchmark improvements or quantify the reliability gains.
Agent and Authentication Updates
The agent web search and fetch features now prompt users to run ollama signin when authentication is required, rather than failing silently. The interactive agent receives the current working directory for improved project context awareness.
Developer Experience
The update fixes ollama launch behavior when a deprecated model is passed with the --model flag—the model picker now opens correctly instead of erroring. Documentation for the official Ollama VS Code extension setup has been updated.
What This Means
The MLX memory leak fix is significant for Mac users running local models, as uncontrolled memory growth could cause system instability during extended inference sessions. The Gemma 4 tool calling improvements suggest Ollama is optimizing for agentic workflows, though without specific benchmarks, the actual reliability gains remain unclear. This patch release indicates active maintenance of platform-specific issues, particularly for Apple Silicon optimization.
Related Articles
Ollama v0.33.0 Fixes KV Cache Bug That Forced Full Reprocessing of 46K-Token Prompts
Ollama's v0.33.0 pre-release adds direct model management inside Claude Desktop's menu bar and fixes a caching bug that could force reprocessing of tens of thousands of tokens. The release also disables a Claude Code system message that was breaking KV cache hits on every request.
Anthropic to Cut Claude Code Weekly Limits by 17% Despite Calling It a 25% Increase
Anthropic will permanently raise Claude Code's baseline weekly usage limits by 25% starting September 14. Because this replaces a temporary 50% boost currently active, users will actually end up with about 17% less capacity than they have today.
Hugging Face Transformers v5.16.1 Adds Support for GLM-5.3-Flash, a 320B-Parameter Multimodal MoE Model
Hugging Face's transformers v5.16.1 release adds support for GLM-5.3-Flash, a 320B total-parameter (18B active) multimodal mixture-of-experts model. Zhipu AI claims it outperforms GLM-5.2 while approaching Claude Opus 4.8 on coding and agentic benchmarks at one-tenth the cost.
Cline Desktop v0.0.19 Fixes Memory Leak That Ballooned Process to Tens of Gigabytes
Cline Desktop v0.0.19 fixes a memory leak where session status updates carried full conversation transcripts to every connected client, ballooning process memory to tens of gigabytes on long tasks. The release also adds seven new model providers and changes default models for several existing ones.
Comments
Loading...