polaris.run.memory.ProcessMemory

class polaris.run.memory.ProcessMemory(resident: int | None, peak: int, largest_subprocess: int)[source]

The memory held by this process and its finished subprocesses.

Variables:
  • resident (int or None) – The bytes this process holds now, or None where that cannot be read

  • peak (int) – The most bytes this process has held since the peak was last reset, or since it started if the peak could not be reset

  • largest_subprocess (int) – The most bytes held by any subprocess that has finished, over the life of this process

__init__(resident: int | None, peak: int, largest_subprocess: int) → None

Methods

__init__(resident, peak, largest_subprocess)

Attributes

resident

peak

largest_subprocess