parameters: (**kwargs)
return_statement: return info["used_memory"]
docstring: Gets the total memory used by redis
  
      Kwargs:
          db: global database instance
          redis: global redis instance
docstring_summary: Gets the total memory used by redis
docstring_tokens: Gets the total memory used by redis
function: def get_redis_used_memory(**kwargs):
      """
      Gets the total memory used by redis
  
      Kwargs:
          db: global database instance
          redis: global redis instance
      """
      redis = kwargs["redis"]
      info = redis.info()
      return info["used_memory"]
function_tokens: def get_redis_used_memory ( * * kwargs ) : redis = kwargs [ "redis" ] info = redis . info ( ) return info [ "used_memory" ]