Support » Fixing WordPress » Out of Memory

  • Hi all,

    would anyone have a suggestion as to why the wp-includes-pluggable.php file might trigger an out of memory error on a line that reads:

    2504: return ”;

    The website is set to use 128Mb via wp-config.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    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.

    Try this in wp-config:

    define( ‘WP_MEMORY_LIMIT’, ‘128M’ );
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );

    And add this to your user.ini:

    memory_limit 265M

    Or, you can set the memory limit in the .htaccess file:

    php_value memory_limit 256M

    See if that does anything for you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Out of Memory’ is closed to new replies.