Select Page

wordpress memory limit


How to fix ‘WordPress Allowed memory size exhausted’ error in websites

How to fix ‘WordPress Allowed memory size exhausted’ error in websites

In WordPress websites, one of the commonly encountered errors is related to the memory size limit. As WordPress is based on PHP, the maximum memory that can be allotted to WordPress depends on the PHP memory limit in the server.

When enough memory is not available for WordPress, the error that shows in the website or log file would be – “Fatal error: Allowed memory size of XX bytes exhausted (tried to allocate XX bytes) in /directory/filename.php on line XX”.

Based on whether the PHP is configured to display errors or not, the symptoms of this memory error would be either a blank page in your WordPress website or error notices displayed in the log file.
(more…)