Hash Slot memory allocation

  • Whenever a redis-cluster is created how is memory which is allocated to redis instance is divided across redis hash slots?

  • How can we see per hashslot memory allocation and total number of keys in that particular hash-slot?

Memory is NOT divided across hash slots.

Than how is memory allocated to hashslots on which logic?

It is just allocated up to the shard max size. No limit on the slot level.