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.
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!
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)