-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Beans Interactive Media wrote:
Hello all,
I am having problems with my site www.dogpedia.nl if i edit pages which are a couple of lines i already get:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 87 bytes) in /var/www/vhosts/dogpedia.nl/httpdocs/includes/SiteStats.php on line 45
Anybody got an idea what i need to do to stop having these errors messages?
Raise PHP's memory_limit. 8 MB is unfortunately too small for many operations, since much of that limit gets used up just on the script source, compiled bytecode, and localized messages.
The installer will have tried to add this to your configuration file if it detected a low limit, but if your provider does not allow you to raise the limit, you may have difficulties.
If necessary try adding to LocalSettings.php:
# If PHP's memory limit is very low, some operations may fail. ini_set( 'memory_limit', '20M' );
- -- brion vibber (brion @ pobox.com)