-
Notifications
You must be signed in to change notification settings - Fork 110
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
Ask: fatal error allowed memory size in wp-content/object-cache.php #1397
Comments
I'll try to help, Check .htaccess file for string "php_value memory_limit" - if you have one, what you have there? Also check wp-config.php file for "WP_MEMORY_LIMIT" and "WP_MAX_MEMORY_LIMIT". If you have this constants - what values you have there? If you have one website on server, I recommend increase memory limit to the max. If you're using OPcache - I recommend to set available memory for OPcache to use in range of 96-128 MB. |
Thank you @Komarovski , Redis object cache is exist do you think testing for disable the plugin to check for redis config i believe the memory is also around 256M & 512M. |
The memory_limit with 256M or 512M for WordPress is too low, especially if you have a lot of plugins, custom queries, not optimized theme, etc. If your hosting plan gives you 3GB of RAM, then set in php.ini memory_limit to 3072M. This way PHP will have enough of RAM if it will need to process some heavy script. In this log:
PHP is telling you that you have allowed memory of 536870912 bytes (approx. 536 MB). As for Redis, if you already have set in php.ini memory_limit to 3072M, then in Redis configuration file I recommend to set |
Hello, |
Hi,
sorry i have an issue when tried to upgrade to latest qtranslate-xt (from 3.12.1 to 3.15.2) with error:
does my issue similar with this previously issue #1286 and am i need to allocate up to 2GB+ for this as the current server i only get 3GB ram though.
Many thanks & appreciate for any thoughts
The text was updated successfully, but these errors were encountered: