|
Theoretically, editing your config.php and add this line before wp-settings.php inclusion.
should raise your memory limit for WordPress to 256MB or whatever value you set. And this will work sitewide. However, as sorich87 pointed out , there are few functions that will alter this setting with hard coded 256 MB limit. To Hack or Not To Hack
A little concern about this,
I never realize that WP will set it's default memory usage so low, until I find this in WP codex:
That explanation was relieving. However, the usage of hard coded While this setting work nicely on most case, it will make those functions useless on server with lower max memory setting or on your case, higher memory usage. Until WP guys fix this, I think your only solution is to modify the core. You may find this post written by hakre interesting to read. He also submit a patch recommendation in Trac. Previous link to patch file may help you to find list of function that use this setting. edit: this is the most stupid answer I've ever give because I give a link to your own post (just realize that OP name was hakre after 2 days) :D edit 2: as mentioned on comment, this has been fixed by 3.2 release |
| More Solution |
|---|
Reffered: https://wordpress.org/