-
Notifications
You must be signed in to change notification settings - Fork 8
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 7 Error - 'Allowed memory size of 134217728 bytes exhausted' in apache error log #108
Comments
For now, increase the amount of RAM until you resolve the issues. This will be difficult to be resolved without reducing performance. |
But yeah this issue is more apparent on devices with fewer RAM. This needs certain code to be moved to PHP code, however, if code that it is shared between this repo and this one is also required to be in PHP, it will be done but only for the Evelution Skin as the CPE Language core GitHub Repo does not support PHP |
For the fix, I will move into PHP what I can do. Using some code from the Cosmos skin as a base will be a good start. But this will result in a major release being released as I will move such classes from |
The next update will trade some Mustache code with PHP ones |
Evelution 126.0.0 contains certain changes to some Mustache code, improving performance in some cases |
In progress as Evelution 126.0.0 did some of the part |
Evelution 127.0.0 did more work, including moving the DPL Forum link into a new place and uses CSS to show/hide the link instead of conditional mustache code. One of the major changes in 127.0.0 is the merge of the two Community Links files into one. |
More Mustache code is being cleaned up as well, 131.0.0 did even more. For instance, some more CSS (Both inline and regular) in Mustache files has been migrated to CPE.css |
HM100,
Enabling this skin is causing the following severe PHP memory issues that impact an account from logging in correctly.
Environment: MediaWiki 1.37.6 is installed with PHP 7.4.3
Apache error logs: [Thu Nov 10 03:10:07.327876 2022] [php7:error] [pid 6684] [client IP:53222] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 61440 bytes) in /var/www/html/w/vendor/zordius/lightncandy/src/Validator.php on line 39
lightncandy is An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ).
Disabling the Skin resolved issues.
The text was updated successfully, but these errors were encountered: