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
PHP Fatal error: Allowed memory size of XXX bytes exhausted #5
Comments
|
I'll look if I could add some tweaks to improve memory consumption. |
Can you tell what script are you checking? |
i check osTciket master branch https://github.com/osTicket/osTicket-1.8 |
i use php 5.6.13 |
Ok, I've updated phpcf and added option For example, you can increase your
@infectormp, now try to check your script again and write down the results. |
Work fine. Thank you. |
877Kb file get out of memory maybe need set default size to 512Kb |
btw, php 7 not have this issue. Peak memory usage: 69.315 MB @ 877 Kb file. |
Hello.
When i scan some source at my host i get 2 times PHP Fatal error
at 128MB memory limit:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /xxx/PhpCodeFixer.php on line 63
at 256MB memory limit:
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 524288 bytes) in /xxx/PhpCodeFixer.php on line 40
after i set memory limit for php to 512MB i not get this errors.
The text was updated successfully, but these errors were encountered: