• Message is as follows:

    Fatal error: Out of memory (allocated 68681728) (tried to allocate 4856 bytes) in /home/kapitiph/public_html/wp-includes/media.php on line 493

    I cant load my homepage because of that.

    Please help

Viewing 4 replies - 1 through 4 (of 4 total)
  • You need to contact your host and see if they can increase your memory limit.

    Thread Starter doctorwhobbc

    (@doctorwhobbc)

    I am on a reseller hosting plan. Can i increase the memory limit through cpanel/whm?

    If you have root access go to:
    Service Configuration => PHP Configuration Editor

    Look at the Directive labeled “memory_limit”. Increase this value and Click the save button on the bottom.

    I had to do this on all of my servers.

    Hope this helps.

    You’re hitting a PHP memory limit, likely due to the large media file that is being handled by WordPress. It’s exceeding the 64MB memory limit set by your host.

    Mat is describing a variable found in a file called ‘php.ini’, this is where your PHP settings are defined. If your host is running you with FastCGI, you may have access to modify this file. The variables you’ll want to raise:

    memory_limit = 99M
    post_max_size = 99M
    max_execution_time = 500

    Alternatively, if you can identify the file and try to make it smaller that may work. (eg. if it’s a 10MB picture that is being processed, resize it)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: Out of memory’ is closed to new replies.