Hello Vadim,
Redis' databases are more like different namespaces than actual separate entities. As such, all databases in the same Redis instance share the configuration settings, `maxmemory` included (but also persistence, eviction, and all the rest).
The way to achieve what you're after is to install 4 separate Redis servers - each with its own settings.
Itamar
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.