Forums

WP Super Cache
Caching causing memory exhaustion at wp-includes/meta.php on line 567 (3 posts)

  1. zberke
    Member
    Posted 4 months ago #

    Hi,

    We're using wp-super-cache 1.0 and wordpress 3.3.1

    Yesterday, we were no longer able to log into our admin. We got

    Allowed memory size exhausted in wp-includes/meta.php on line 567

    We fixed this by selectively giving the admin area more memory. Not a big deal b/c folks aren't using the admin much.

    However, today the same issue took down the front end. Now in response we're giving every page load 256M of memory. That's not good for server scalability!

    Removing WP-Super-Cache fixes the issue.

    Lines 566 and 567 are:

    if ( !isset($cache[$mpid][$mkey]) || !is_array($cache[$mpid][$mkey]) )
                                    $cache[$mpid][$mkey] = array();

    We're using all the recommended wp-super-cache settings. Switching between mod_rewrite, legacy, and php caching does not fix the issue -- all settings require that we allocate 256M in order to not get the error. Deleting the cache does not fix the issue.

    Any ideas about what we're doing wrong?

    Thanks!

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. boombatze
    Member
    Posted 3 months ago #

  3. Donncha O Caoimh
    Member
    Posted 3 months ago #

    No, just increase the PHP memory limit so this limit isn't reached. Set WP_MEMORY_LIMIT in your wp-config.php
    http://codex.wordpress.org/Editing_wp-config.php

Reply

You must log in to post.

About this Plugin

About this Topic