Skip to content

Commit 2cc87fd

Browse files
author
Egor Nelyubov
committed
Reduce the memory consumption of tests by forcing PHP to return the unused memory
1 parent 701b636 commit 2cc87fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Codeception/Lib/Parser.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ public static function getClassesFromFile($file)
170170
}
171171
}
172172

173+
$tokens = null;
174+
gc_mem_caches();
175+
173176
return $classes;
174177
}
175178

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy