bettes midler

a real life website by Jonny Nail   ·   life + code

memory is full

When I am pumping out super large database queries, looping my tits off and/or just generally flexing my code 'muscle' I sometimes get PUNCHED IN DA FACE by this show-stopping ERROR:

Allowed memory size of 8388608 bytes exhausted (tried to allocate 27 bytes) in
/web/ramram/classes/class.crooker.php on line 89.

But hope isn't lost.. as (like most 'php.ini' settings) you can up the PHP memory limit using the lovely ini_set function.

ini_set("memory_limit","12M");

TaDAHH.

August 13, 2009 [15:03]

Comment

Go Home