FULL AI ANALYSIS

Redis memory keeps growing after cache keys expire

Generated Sep 18, 2026, 11:55:04 AM

Analysis summary

The reported behaviour is consistent with allocator fragmentation retains freed pages rather than immediately returning them to the OS. The safest next step is to verify that hypothesis with a reversible test before making permanent configuration changes.

Possible causes

Allocator fragmentation retains freed pages rather than immediately returning them to the OS.

87%

A recent software, firmware or configuration change is exposing an existing compatibility issue.

41%

Suggested fixes

1

Verify the likely cause

Compare used_memory and used_memory_rss, enable active defragmentation when appropriate and set a tested maxmemory eviction policy.

2

Validate and monitor

Reproduce the issue once after the change, review relevant logs or metrics, and keep a rollback path until the system has remained stable.