• As the subject says, I have set the WP_MEMORY_LIMIT in my system to

    define('WP_MEMORY_LIMIT', '2048M');

    But after the WP clifford update I only get 512 MB. So it seems my setting is being ignored?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Has your host altered their limit?

    Hello,

    I would recommend you to create a phpinfo page and see your current PHP memory_limit.

    Simply create a file named eg. info.php at your document root and enter the following:

    <?php
    phpinfo()
    ?>

    save it, and then open it from your browser.
    Finally, search for memory_limit and see to what it’s currently set.

    No matter how high you define WP_MEMORY_LIMIT it can not exceed your PHP memory_limit so it’s possible you’ll need to contact your host in order to increase it.

    Thread Starter angrywarrior

    (@angrywarrior)

    Wel, I know from my host that I have 2 GB memory available, and the WP installation on the server used to report that. After the WP Clifford update it reports only 512 in WordPress while my host’s C-panel reports that i have 2 GB available for use.

    Hello,
    I would recommend you to create a phpinfo page and see your current PHP memory_limit.
    
    Simply create a file named eg. info.php at your document root and enter the following:
    
    <?php
    phpinfo()
    ?>
    
    save it, and then open it from your browser.
    Finally, search for memory_limit and see to what it's currently set

    I just did that too, It seems that they have set 512 in the global php file. So how do I revert that? As mentioned before, they use C-Panel…

    Thanks a bunch in advance for your answers!

    Moderator Marius L. J.

    (@clorith)

    Hi,

    If your host has forcibly changed the global max value, you should be opening a ticket with them if you need more than this (although 512MB is quite a bit of data for a process to use, and if your site actually needs 2GB per process I would look into ways of optimizing it rather than just throwing memory at it)

    Thread Starter angrywarrior

    (@angrywarrior)

    Thanks Marius!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WP_MEMORY_LIMIT not working anymore?’ is closed to new replies.