Memory Limit Problem During Upgrade – Solution
-
I use Keith Dsouza’s excellent upgrade plugin for doing upgrades and had a nasty this morning while upgrading to 2.3
My blog has over 1,000 posts and an 8MB PHP limit on the server. I’d already hit this before with the Google Sitemap generator and got the “Fatal error: Allowed memory size of 80000000 bytes exhausted (tried to allocate 253742 bytes)” error.
The answer was to add (in my case)
ini_set(“memory_limit”,”16M”);
to various scripts.This memory limit also hit during the 2.3 upgrade and reported fatal errors when reactivating most of my plugins. The problem was wp-includes\cache.php which now needs ini_set.. added at the start as well. The tricky bit is you have to wait until the new php scripts have been copied in during the upgrade, patch it then continue so it has to be done manually not automatically.
- The topic ‘Memory Limit Problem During Upgrade – Solution’ is closed to new replies.