def __init__(self): self.process = psutil.Process() super().__init__(name='memory_reporter', daemon=True)