From 01ccbfe2548d04abfcfb6d429cff03cc827522bb Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Thu, 15 Sep 2022 23:55:26 +0100 Subject: [PATCH] Improves display of memory plugin --- src/Plugins/Memory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/Memory.php b/src/Plugins/Memory.php index 11d67d7e..ffc705a4 100644 --- a/src/Plugins/Memory.php +++ b/src/Plugins/Memory.php @@ -46,7 +46,7 @@ final class Memory implements AddsOutput, HandlesArguments { if ($this->enabled) { $this->output->writeln(sprintf( - ' Memory: %s MB', + ' Memory: %s MB', round(memory_get_usage(true) / pow(1000, 2), 3) )); }