Content-Length: 236769 | pFad | http://github.com/Codeception/Codeception/issues/6840

D5 Test runner sometimes just stops, sometimes gives "Allowed memory size exhausted" error · Issue #6840 · Codeception/Codeception · GitHub
Skip to content

Test runner sometimes just stops, sometimes gives "Allowed memory size exhausted" error #6840

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

Open
ThomasLandauer opened this issue Apr 2, 2025 · 2 comments

Comments

@ThomasLandauer
Copy link
Member

Since my latest run (~2 weeks ago), the Codeception runner is suddenly hanging strangely:

  • Sometimes, in the middle of the suite, it just stops with message "COMMAND DID NOT FINISH PROPERLY."

  • Sometimes (at another test), it crashes with:

    PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in ...vendor/symfony/var-dumper/Caster/ClassStub.php on line 52

    However, the memory_limit in my php.inis (for CLI and FPM) is 3000M. So where is the 1G limit coming from?

This is not caused by the tests themselves, cause when I run just the affected files alone, everything's fine.

Any ideas? Is somebody else experiencing this? Were there recent changes regarding memory management (couldn't find anything)?

@s1lver
Copy link

s1lver commented Apr 14, 2025

PHP 8.3.19

I have the same problem after upgrading to version 5.2.1

FATAL ERROR. TESTS NOT FINISHED.
Allowed memory size of 1073741824 bytes exhausted (tried to allocate 1003520 bytes)
An Error occurred while handling another error:
Headers already sent in /var/www/vendor/codeception/codeception/src/Codeception/Subscriber/ErrorHandler.php on line 175

@s1lver
Copy link

s1lver commented Apr 14, 2025

Memory consumed(same tests):

Codeception v5.1.2 - 770.34 MB
Codeception v5.2.1 - 1.30 GB
Codeception v5.3.0 - 1.27 GB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Codeception/Codeception/issues/6840

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy