code: def sz_total(data: pd.DataFrame, memory_deep: bool = True) -> int:
      """
      Args:
          data (pd.DataFrame): TimeSeries data.
          memory_deep (bool): deeper interrogation to obtain system-level memory consumption.
  
      Returns:
          int: Memory usage in bytes.
      """
      return int(data.memory_usage(deep=memory_deep).sum())
  
file_path: tslumen/tslumen/profile/summary.py
imports: from typing import Any, Optional
  import numpy
  import pandas
  from statsmodels.tsa.tsatools import freq_to_period
  from tslumen.profile.base import ProfilingFunction, TypeSeriesFrame
label_desc: Use image node_id 7 for calling a global function with example usage: sz_total(data, memory_deep) and returns: int