Memory Error

From Roaring Penguin
Revision as of 11:06, 14 May 2014 by MCoyne (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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