diff --git a/src/ondrs/UploadManager/Storages/S3Storage.php b/src/ondrs/UploadManager/Storages/S3Storage.php
index <HASH>..<HASH> 100644
--- a/src/ondrs/UploadManager/Storages/S3Storage.php
+++ b/src/ondrs/UploadManager/Storages/S3Storage.php
@@ -81,6 +81,8 @@ class S3Storage implements IStorage
         /** @var Result $result */
         $result = $this->s3Upload($source, $destination)->wait();
 
+        gc_collect_cycles();
+
         return $result->toArray()['ObjectURL'];
     }
 
@@ -99,6 +101,8 @@ class S3Storage implements IStorage
 
         $results = Promise\all($promises)->wait();
 
+        gc_collect_cycles();
+
         return array_map(function (Result $result) {
             return $result->toArray()['ObjectURL'];
         }, $results);
S3Storage: run GC manually after upload is done

<URL>