# Eviction Policies

> What happens when Redis reaches its memory limit? Explain the available eviction policies.

Canonical: https://www.internhack.in/learn/interview/redis-caching/redis-eviction-policies
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

What happens when Redis reaches its memory limit? Explain the available eviction policies.

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

maxmemory, maxmemory-policy, allkeys-lru, volatile-ttl, noeviction, Approximated LRU

Previous: [Caching Strategies](https://www.internhack.in/learn/interview/redis-caching/redis-caching-strategies) · Next: [Persistence: RDB vs. AOF](https://www.internhack.in/learn/interview/redis-caching/redis-persistence-rdb-aof) · [All of Redis & Caching](https://www.internhack.in/learn/interview/redis-caching)

## More Redis & Caching questions

- [Transactions & Atomicity](https://www.internhack.in/learn/interview/redis-caching/redis-transactions-multi)
- [Pub/Sub Messaging](https://www.internhack.in/learn/interview/redis-caching/redis-pub-sub)
- [Sentinel vs. Cluster](https://www.internhack.in/learn/interview/redis-caching/redis-sentinel-vs-cluster)
- [Penetration, Breakdown, & Snowslide](https://www.internhack.in/learn/interview/redis-caching/redis-cache-pen-break-snow)
- [Distributed Locking (Redlock)](https://www.internhack.in/learn/interview/redis-caching/redis-distributed-locking-redlock)
- [Pipelining](https://www.internhack.in/learn/interview/redis-caching/redis-pipelining)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Redis & Caching](https://www.internhack.in/learn/interview/redis-caching)
