‘Fatal error: Allowed memory size of 8388608 bytes exhausted’ in WordPress

WordPress

After installing additional WordPress plug-in’s or upgrading to the latest version of WordPress you may experience the following error message: ‘Fatal error: Allowed memory size of 8388608 bytes exhausted’.

The reason for this error message is that PHP has a built-in limit on the amount of memory it will allocate. If that limit is reached, the process will exit with this error message. This is usually the result of the PHP script trying to load a large file, such as an image, into memory all at once. While it is better if you can arrange for the script not to do such things, it is also possible to increase the memory limit some to avoid this problem. To do that, edit the php.ini file with your PHP scripts (create it if it does not exist) and add the following line:

memory_limit=16M

You should replace the ’16′ with whatever value is appropriate (eg: 32M or 64M. The default is 8M (8 megabytes, the 8388608 bytes from the error message).

Technorati Tags: ,,,,,,,

VN:F [1.9.3_1094]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)

Related posts:

  1. VMware vCenter agent service does not install or upgrade on ESXi 4.0 hosts – “Cannot install the vCenter agent service. Unknown Installer error” Here’s one for all you VMware ESXi users out there...

You can leave a response, or trackback from your own site.

2 Responses to “‘Fatal error: Allowed memory size of 8388608 bytes exhausted’ in WordPress”

  1. RaiulBaztepo says:

    Hello!
    Very Interesting post! Thank you for such interesting resource!
    PS: Sorry for my bad english, I’v just started to learn this language ;)
    See you!
    Your, Raiul Baztepo

    [Reply]

    Kiwi Si Reply:

    Hi Raiul,

    Thanks for leaving a message – your English is fine! :)

    Glad you found the post useful.

    All the best,

    Simon

    [Reply]

    VN:F [1.9.3_1094]
    Rating: 0.0/5 (0 votes cast)
    VN:F [1.9.3_1094]
    Rating: 0 (from 0 votes)

Leave a Reply

You can add images to your comment by clicking here.

TrainSignal - vSphere Pro
VizionCore
PHD Virtual - esXpress
Veeam - Backup & Replication