Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Error: “Allowed memory size of X bytes exhausted”

Discussion in 'Misc WordPress Requests' started by ipsc, Nov 21, 2017.

  1. ipsc

    Guest

    Error: “Allowed memory size of X bytes exhausted”, by ipsc

    Hi,

    i know this error mentioned very often, but I’ve set already the following:
    in php.ini: memory_limit = 380M
    in wp_config.php
    define(‘WP_MEMORY_LIMIT’,’360M’);
    define(‘WP_MAX_MEMORY_LIMIT’, ‘360M’);
    define(‘WP_CACHE’, ‘true’);

    The error doesn’t happen always (but when, then you need to restart Apache), and the amount of the required memory varies, but it is always higher than the available memory, the lowest value was over 17 GB, and these errors tried to get over 7 trillion (!) bytes :

    Allowed memory size of 398458880 bytes exhausted (tried to allocate 7594869302574080442 bytes) in D:\\Docroots\\www\\wp-includes\\functions.php on line 5215

    Does somebody have a idea what i could do else?

    This runs on a Windows Server 2008R2, Apache 2.4.9, PHP 4.0.25, and WordPress 4.9

    Many thanks in advance!

    Error: “Allowed memory size of X bytes exhausted”
     
    #1

Share This Page

Web Hosting