← heapsort
ARTICLE27

What 19 GB of Memory Compression Taught Me About MLX on M1 Max

DEV.to AIΒ·April 20, 2026

The author describes encountering 19 GB of memory compression while running a large LLM with MLX on an M1 Max, initially mistaking it for a leak. The fix involved a single MLX API call to properly manage macOS unified memory for large models idling between inferences.

Read original β†—