What is WordPress Error – Memory Limit and how do I fix it?

When your WordPress site requires more memory than the default allocated memory, you will see this error message:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home/xxx/public_html/wp-includes/plugin.php on line xxx

1. There are a number of methods to correct this. We will discuss the most basic ones below:

– Check within your Hosting account (either Direct Admin or cPanel)

– Go to Select PHP Version and select Options

– Increase your Memory Limit – example if it is set to 512 MB, increase to 2 GB.

– Click Apply

 

2. If you still experience the same issue, this could be related to a Memory_Limit set within your WordPress files themselves. This is usually within the wp-config.php.

– Go to File Manager and enter

/home/xxx/public_html/wp-config.php

Edit memory_limit in this WordPress wp-config.php file and Increase accordingly.

 

3. Other files that may influence the memory limit that can be checked:

/home/xxx/.htaccess

/home/xxx/public_html/.htaccess

/home/xxx/user.ini

/home/xxx/public_html/user.ini

 

If the above does not help, this could be related to a WordPress theme or plugin that could be forcing a Memory Limit Set within a different stored file stored,

Please feel free to contact our Support Department to assist you further.

What Our Customers say...