Skip to content

Memory exhausted while running PHPUnit tests for oik on s.b/wordpress #209

Description

@bobbingwide

When I PHPUnit tested oik v4.8.1 it worked fine.
Re-running the tests today I got.

PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 83395048 bytes)

The memory limit set in wp-config.php was 512M. I upped it to 1024M but still got the problem.
The trace output indicate that the memory limit had been reduced from 1024M to 256M
But I dont know where this was done.

Workaround

Turn off CLI tracing before running the PHPUnit tests.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions