From 7d6ecf9148b526400bfdbe50a9ff8f39c0a73717 Mon Sep 17 00:00:00 2001 From: Github Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 20 Jan 2023 21:37:53 +0100 Subject: [PATCH] Log memory usage even sooner --- src/danog/MadelineProto/GarbageCollector.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/danog/MadelineProto/GarbageCollector.php b/src/danog/MadelineProto/GarbageCollector.php index 998b87fc9..81251c6c1 100644 --- a/src/danog/MadelineProto/GarbageCollector.php +++ b/src/danog/MadelineProto/GarbageCollector.php @@ -47,6 +47,7 @@ final class GarbageCollector return; } self::$started = true; + self::getMemoryConsumption(); EventLoop::repeat(1, static function (): void { $currentMemory = self::getMemoryConsumption();