Fatal error: Out of memory fix for version 3.8
-
Here is an example of the error I was receiving while configuring a new ecommerce plugin.
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 24 bytes) in /your-site/wp-includes/class.wp-scripts.php on line 151
I knew that I’d have to figure out how to increase the memory allocation somewhere. Skipping all the other suggestions that didn’t work, including the suggestion to add or edit a line
define(‘WP_MEMORY_LIMIT’, ’64M’);
in wp-config.php (which didn’t help), I found that in Word Press version 3.8, the memory allocation specification is in the file – /your-site/wp-includes/default-constants.php.
The default value is 40m, I simply changed it to 48m and all is well again, so far! ??I’ll increase it to 64m if I get any more errors…
- The topic ‘Fatal error: Out of memory fix for version 3.8’ is closed to new replies.