LBateman
Member
Posted 4 years ago #
PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 98304 bytes) in \wp-admin\includes\post.php on line 287
Hi,
Recently got this error while doing a WP install on a PHP5 server. I've been through the motions and I've seen all the posts out there on this topic
http://wordpress.org/search/memory+exhausted?forums=1
However the proposed resolution does not seem to work
ini_set('memory_limit','32M');
// End Hack Memory Size
Positioned in \wp-admin\includes\post.php.
Does anyone have any other suggestions on how I can get around this? Its a windows box PHP5.
Kind Regards
It may be that your host doesn't allow you to change the memory size. Did you try asking them to increase it for you? Maybe that will solve the problem.
edditor
Member
Posted 4 years ago #
Same error here but from
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 72865 bytes) in /home/username/public_html/blog/wp-includes/cache.php on line 48
Host advised me to create php.ini in blog folder root with
" memory_limit = xyzM " where xyz = amount of memory
Didn't work
Still get the same error, WP either ignoring the php.ini or some other issue - clueless & lost now.
(WP version = 2.2.3 and no, not going to upgrade while I have a problem like this otherwise it could compound the error in the upgraded version)
Any ideas anyone
Ed