You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has nothing to do with generator or phpunit because the issue is gone if codeception Yii2 module is turned off
We also face the very same issue with our real test suit consisting of hundreds unique tests and no generators.
In fact. I've managed to find the exact line which results in memory leak
Steps to reproduce:
vendor/bin/codecept run tests/unit/leak/A500Test.php
vendor/bin/codecept run tests/unit/leak/A1000Test.php
1000 tests consumed twice as much memory as 500 tests.
Module is not freeing 300kb of memory after each iteration of one test
vendor/bin/codecept run tests/unit/leak/
Module is not freeing 300kb of memory after each test even after all tests in a file were finished
unit.suite.yml
Memory usage is 20 smaller
phpinfo.txt
The text was updated successfully, but these errors were encountered: