Closed (fixed)
Project:
Upgrade Status
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2021 at 05:40 UTC
Updated:
1 Sep 2021 at 19:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gábor hojtsyRight, since we execute phpstan in its own process, it would use the PHP CLI memory limit, not the one that normally applies to Drupal. Would there be potential downsides setting the memory limit to -1?
Comment #3
aangel commentedI just hit this issue and adding that extra switch worked for me.
Hard to see downsides to giving PHP free reign with memory in this case, after all it's a tool run sporadically and typically on dev machines. Even if run on production, the memory increase is localized to just the tool rather than it being a production-wide modification.
Comment #4
gábor hojtsyOk that would look like this. Let's get it tested.
Comment #6
gábor hojtsyOk got this in. Will see if there are any complaints.