Support » Plugins » [Plugin: W3 Total Cache] Fatal error: Allowed memory size of…

  • Resolved guitardaddy76

    (@guitardaddy76)


    Hi all,

    After following the installation instructions regarding permissions and uploading – I get an error after attempting to activate the plugin on my plugin dashboard page:

    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 19456 bytes) in /home/stockholmlife.se/www/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCache.php on line 1204

    Line 1204 of the specified file is:
    if ($this->_config->get_boolean('cdn.enabled') == false && $config->get_boolean('cdn.enabled') == true && $config->get_string('cdn.engine') != 'mirror') {

    I also have tried this:
    http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
    and I still get the same error message.

    If you have any suggestions, I’m open to them.
    I’m using Thesis 1.6 with a few nonintrusive plugins.

    Thanks!

    guitardaddy76

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Further info:

    Turning off different plugins gave me different error messages:

    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 19456 bytes) in /home/stockholmlife.se/www/wp-content/plugins/w3-total-cache/lib/W3/Config.php on line 693

    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 19456 bytes) in /home/stockholmlife.se/www/wp-content/plugins/w3-total-cache/lib/W3/Plugin/PgCache.php on line 423

    Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 19456 bytes) in /home/stockholmlife.se/www/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCache.php on line 1204

    The numbers regarding memory are constant even though the .php files that overload are different each time.

    I Look forward to your help. Thanks.

    What memory size have you set? As you have already noticed PHP’s defaults are not practical for today’s web applications. 64M is a more reasonable value, please try that. If that define statement fails you may have to modify your PHP configuration directly.

    16777216 equals 16MB Memory, ich is not pretty much.

    And more Important if you changed your Value and you still get the Same Message ‘Allowed memory size of 16777216 bytes exhausted’ means your Memory Max Memory Size hasnt changed at all, the Reasons could be:

    your PHP Configuration does not allow on-thy-fly-changes, or 16MB may be the absolut cap configured.

    If you are runing on a hosted Solution check with your Hoster how to increase the Memory Size, if you are runing on your own Server OR have Access to the php.ini change the value there

    Well said @lautr.

    I contacted the host, upped the momory to 32mb.

    This IS the best cacher so far.

    RESOLVED!

    Ok great.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: W3 Total Cache] Fatal error: Allowed memory size of…’ is closed to new replies.