Args:
total_size: Total memory available in the system.
current_size: Memory usage of the current Python process and its children.
max_memory_size: The maximum memory that can be used by AutoscaledPool.
max_used_memory_ratio: The maximum acceptable ratio of current_size to max_memory_size.
created_at: The time at which the measurement was taken.
A snapshot of memory usage.
Args: total_size: Total memory available in the system. current_size: Memory usage of the current Python process and its children. max_memory_size: The maximum memory that can be used by
AutoscaledPool
. max_used_memory_ratio: The maximum acceptable ratio ofcurrent_size
tomax_memory_size
. created_at: The time at which the measurement was taken.