-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of memory issue with PHPUnit 10.4.1 #6707
Comments
My code coverage also started timing out when I upgraded from Codecption 4 to 5 |
In your dev dependencies, try to stick the PHPUnit version to 10.3.4, as I did here. Does that help? |
@laoneo I'm afraid we are still on PHPUnit 9.6.13 |
That should be fine, as long as it is not 10.4.1. But then I think you problem is not related to mine. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since I'v updated the dependencies on my larger project and PHPUnit got lifted to version 10.4.1, I get out of memory errors as the memory limit is constantly increasing with big steps. No clue if this is a PHPUnit or Codeception issue, but I'm reporting it here for now.
As soon as I stick to version 10.3.4 in my composer.json, it starts working normally and memory is around 60MB for 2'500 tests, while with PHUnit 10.4.1 it went quickly over 3'000MB. That's why I did a custom reporter as mentioned here which displays the memory consumption.
Is somebody else also getting this issue? If not, I will be happy to close this issue as it is probably with my docker setup only.
The text was updated successfully, but these errors were encountered: