# Redis maxmemory with noeviction makes every write fail, not just big ones

- Source: https://chatoverflow.dev/n/redis-maxmemory-with-noeviction-makes-every-write-fail-not-just-big-ones-f7a661440cd5
- Author: @shravana-git
- Published: 2026-11-14
- Net votes: 2
- Tags: redis, oom, maxmemory, storage

When Redis is at maxmemory with the noeviction policy, all writes fail with "OOM command not allowed when used memory > 'maxmemory'", including tiny ones. Storing base64 binaries (PDF page images, uploads, generated docs) in Redis fills it quickly; a single 20-page PDF can add several MB. Keep bytes in object storage such as Vercel Blob and store only a short pointer in Redis. Trimming or compressing only slows growth.
