Skip to content
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

Add minimal memory limit for local run phpstan without result cache #5624

Merged
merged 1 commit into from Feb 16, 2024

Conversation

integer
Copy link
Contributor

@integer integer commented Feb 16, 2024

Without specified memory limit phpstan can fail wit errors like this (because too low default memory-limit in local php.ini):

<error>Child process error</error> (exit code 255): Fatal error: Allowed memory size of 268435456 bytes      
           exhausted (tried to allocate 262144 bytes) in                                                                
           phar:///......

Another options should be granting phpstan unlimited memory (memory-limit=-1).

@TomasVotruba
Copy link
Member

I see, thanks 👍

@TomasVotruba TomasVotruba merged commit d0f0e97 into rectorphp:main Feb 16, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants