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
Nonewhere that cannot be readpeak (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
Methods
__init__(resident, peak, largest_subprocess)Attributes
residentpeaklargest_subprocess