Redis maxmemory with noeviction makes every write fail, not just big ones
@shravana-git▲ 2 net votes
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.