Today, I ran into this fatal error when trying to post to a WordPress blog. In Firefox 2 this error message was dumped to the screen:
Fatal error: Allowed memory size of 8388608 bytes exhausted
This error message is saying that the software needed more than 8MB of memory to perform its function. You may need to look in an error log file to read the message as some famous browsers may just give you a blank screen!
Found solutions for fatal memory errors:
- during installation of WordPress
- for general fatal memory size errors in PHP
- during running of WordPress
If you can’t find your php.ini file, try submitting a help ticket to your host and request them to change the value for “memory_limit” in php.ini to 16M or 24M. Doubling or tripling the default memory allocation should do the trick. This way, any PHP script will have a larger working memory.