While upgrading WordPress to the latest version or installing a new plugin, “Allowed Memory Exhausted Error” is a common error. In the error message, it says "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1966080 bytes) in /hosting-path/wp-includes/file-name.php on line 5353"
.
If it happens, here is a simple fix:
- Log in to your hosting file system using any FTP software.
- Download wp-config.php file from home directory.
- Open the file using any PHP Editor.
- Write down the following line of code just imidiately after 1st line. Usually first line should have
<?
on the file. - Save and Close the file.
- Upload and overwrite the existing file.
1 |
define ( 'WP_MEMORY_LIMIT' , '64M' ) ; |
This piece of code will increase the memory allocated by PHP and allow WordPress to handle large files to execute.
DO YOU NEED OUR HELP?
Contact our experts, most of the time we assist our readers free of charge.Those who found this page were searching for:
- fatal error: allowed memory size gravity forms
- fatal error: allowed memory size of 33554432 bytes exhausted code charge
- wordpress admin memory gravity forms
- gravity forms fatal error: allowed memory size
- Allowed memory + wordpress 3.2
- memory "wordpress 3.2" 64m
- Allowed memory + wordpress 3.2
- memory "wordpress 3.2" 64m
- fatal error: allowed memory size of 33554432 bytes exhausted + gravity forms
- allowed+memory+size+wordpress+3.2