From f9dd591ecb8fdbcf1fa3a4513c408279b756b055 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 1 Nov 2022 22:47:41 +1100 Subject: [PATCH] Improve memory handling --- app/Helpers/Generic.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Helpers/Generic.php b/app/Helpers/Generic.php index feb40dd030e9..f353274fa995 100644 --- a/app/Helpers/Generic.php +++ b/app/Helpers/Generic.php @@ -40,4 +40,7 @@ function nlog($output, $context = []): void } else { \Illuminate\Support\Facades\Log::channel('invoiceninja')->info($output, $context); } + + $output = null; + $context = null; } \ No newline at end of file