public function monitor(Daemon $daemon, $currentObject = null)
    {
        $currentMemory = $this->getMemoryUsage();
        if ($this->memory > 0 && $currentMemory > $this->memory) {
            $this->logger
                ->warning(
                    'Memory usage increased',
                    [
                        'bytes_increased_by'   => $currentMemory - $this->memory,
                        'bytes_current_memory' => $currentMemory
                    ]
                );
        }
        $this->memory = $currentMemory;
    }