My VRT Redis Memory is getting full day by day, How I can find the most memory occupied hash/cache.
Run the below command on redis server:
- redis-cli --bigkeys
- You can see the most memory occupied hash/cache.
- Credit goes to @DebugHorror
Just to add, This will show you the list of keys that are the biggest in size. Why are they consuming that much is all together a different question and need to be looked at. The reason can be different in different scenarios.