Skip to content

Running into PHP memory limits when running infection/infection with this CI action #68

@Ocramius

Description

@Ocramius

Bug Report

Q A
Version(s) 1.11.4

Summary

When running infection/infection with this action, relatively low memory limits are hit in this job:

https://github.com/laminas/laminas-ci-matrix-action/blob/71aa5bef47be3a9d3e1a3865f43caf16708ed847/src/create-jobs.js#L175-L191

An example is visible at https://github.com/Roave/BackwardCompatibilityCheck/runs/4634739860?check_suite_focus=true#step:3:479

[PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes) in /github/workspace/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php on line 69]

134217728 is 128Mb, which is something that is prohibitively low for PHP: we should really use -dmemory_limit=-1 here 🤔

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions