Memory Error

From Roaring Penguin
Jump to: navigation, search

Symptom:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1428223 bytes).....

Resolution

They've hit a limit imposed by PHP, which you can fix by editing the file php.ini (probably in /etc/php/apache2/, or /etc) and changing the line to read:

  memory_limit = 128M

After making the change, re-start Apache for it to take effect via

  /etc/init.d/apache2 restart