polaris.run.memory.reset_peak_memory

polaris.run.memory.reset_peak_memory() → bool[source]

Reset this process’s peak memory to what it holds now.

Returns:

reset (bool) – Whether the peak was reset. Where it cannot be, the peak that read_process_memory() reports is the peak since the process started.