parameters: (self, server, timestamp, used, peak)
docstring: Saves used and peak memory stats,
  
          Args:
              server (str): The server ID
              timestamp (datetime): The time of the info.
              used (int): Used memory value.
              peak (int): Peak memory value.
docstring_summary: Saves used and peak memory stats,
docstring_tokens: Saves used and peak memory stats
function: def save_memory_info(self, server, timestamp, used, peak):
          """Saves used and peak memory stats,
  
          Args:
              server (str): The server ID
              timestamp (datetime): The time of the info.
              used (int): Used memory value.
              peak (int): Peak memory value.
          """
          data = {"timestamp": str(timeutils.convert_to_epoch(timestamp)),
                  "used": used,
                  "peak": peak}
          self.conn.zadd(server + ":memory", str(timeutils.convert_to_epoch(timestamp)), data)
function_tokens: def save_memory_info ( self , server , timestamp , used , peak ) : data = { "timestamp" : str ( timeutils . convert_to_epoch ( timestamp ) ) , "used" : used , "peak" : peak } self . conn . zadd ( server + ":memory" , str ( timeutils . convert_to_epoch ( timestamp ) ) , data )