Search code examples
phpinimemory-limit

PHP ini problem


I have this error in a PHP based installation:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 98304 bytes) in D:\vertrigo\VertrigoServ\www\dos\ana\libraries\test\domain\query\query.php on line 804

I changed my php.ini memory_limit from 8MB to 12MB, however I am still receiving the error.

What is the problem?


Solution

  • Fatal error: Allowed memory size of 8388608 bytes exhausted

    8 Megabytes sounds pretty low. WordPress for example will choke on anything under 12 MB even without plugins, and run smoothly with 16 MB or more.

    I'm therefore going to boldly guess that your social engine simply needs more memory to run. See for example this answer on how to raise the memory limit: Increase PHP Memory limit (Apache, Drupal6)