• I keep getting these kinds of memory errors all day today. It just started today and it does not effect the front page, only the dashboard.

    “Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 524288 bytes) in /home/******/******/wp-includes/option.php on line 506”

    The size changes as does the file path and line number.

    I tried increasing the memory limits in php.ini, wp-config and .htaccess and nothing helped. I also set the apache php memory limit to -1. Nothing stops this error.
    Any ideas would greatly be appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ElectricEye

    (@electriceye)

    any ideas anyone? I still have the same problem.

    Moderator t-p

    (@t-p)

    If you’re seeing this error either suddenly (no specific task was done to cause the error) or frequently, try deactivating all plugins to rule-out a plugin-specific issue and try switching themes to rule-out a theme-specific issue.

    Otherwise, here are three ways to increase PHP’s memory allocation:

    1. If you can edit or override the system php.ini file, increase the memory limit. For example, memory_limit = 128M

    2. If you cannot edit or override the system php.ini file, add php_value memory_limit 128M to your .htaccess file.

    3. If neither of these work, it’s time to ask your hosting provider to temporarily increase PHP’s memory allocation on your account.

    (in the above examples, the limit is set to 128MB)

    Thread Starter ElectricEye

    (@electriceye)

    deactivated all plugins and changed the theme. No change.

    Upped the memory to 4000M in .htaccess,wpconfig.php and php.ini. Still getting the error.
    It only happens on the back end admin dashboard of the site. No errors on the page it self.
    I have a VPS with 8 gigs of memory and 8 processors, litespeed installed. It is using around %25 of resouces at all times according to the TOP. I still can not figure out why this started. Any ideas would greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error: Allowed Memory Size’ is closed to new replies.