WordPress Memory Exhausted Error ? – Increase PHP Memory

wordpress setup

One of the most common wordpress error is memory size exhausted. This could be occur for different scenario. Commonly the scenario occur
while posting or updating the content. In this article, we will guide you how to fix the wordpress memory exhausted error and how to increase php memory to resolve the issues.

Error : 

Fatal error: Allowed memory size of 23354432 bytes exhausted (tried to allocate 8388616 bytes) in /home4/xxx/public_html/wp-includes/plugin.php

How to resolve the issue ?  

  1. Open wp-config.php
  2. Modify below code
    1. define(‘WP_MEMORY_LIMIT’, ’64M’);

If the error still persists, enable the DEBUG error code in wp-config.php and provide the correct memory size and resolve.

 

Related posts

Leave a Comment